fix emoji processor not leaving string as-is if no emoji are found
This commit is contained in:
parent
35dedf8416
commit
be79643bcf
2 changed files with 29 additions and 1 deletions
|
@ -118,6 +118,7 @@ export const processTextForEmoji = (text, emojis, processor) => {
|
|||
textBuffer += char
|
||||
}
|
||||
}
|
||||
if (textBuffer) buffer.push(textBuffer)
|
||||
return buffer
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue