|
|
@ -46,8 +46,8 @@ export default Vue.component('RichContent', {
|
|
|
|
const processItem = (item) => {
|
|
|
|
const processItem = (item) => {
|
|
|
|
// Handle text noes - just add emoji
|
|
|
|
// Handle text noes - just add emoji
|
|
|
|
if (typeof item === 'string') {
|
|
|
|
if (typeof item === 'string') {
|
|
|
|
const emptyText = item.trim()
|
|
|
|
const emptyText = item.trim() === ''
|
|
|
|
if (!emptyText) {
|
|
|
|
if (emptyText) {
|
|
|
|
return encounteredText ? item : item.trim()
|
|
|
|
return encounteredText ? item : item.trim()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let unescapedItem = unescape(item)
|
|
|
|
let unescapedItem = unescape(item)
|
|
|
|