fix empty spaces again
This commit is contained in:
parent
9ea370033a
commit
73127f0e25
2 changed files with 5 additions and 4 deletions
|
@ -46,8 +46,8 @@ export default Vue.component('RichContent', {
|
|||
const processItem = (item) => {
|
||||
// Handle text noes - just add emoji
|
||||
if (typeof item === 'string') {
|
||||
const emptyText = item.trim()
|
||||
if (!emptyText) {
|
||||
const emptyText = item.trim() === ''
|
||||
if (emptyText) {
|
||||
return encounteredText ? item : item.trim()
|
||||
}
|
||||
let unescapedItem = unescape(item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue