Emoji Tooltip: Fix for Firefox (#1376)
This commit is contained in:
parent
26ed61ac52
commit
5a23d30a21
@ -191,6 +191,7 @@ function getEmojiCode(html: string) {
|
|||||||
const emojis = html
|
const emojis = html
|
||||||
.replace(RE_SPACE, ' ')
|
.replace(RE_SPACE, ' ')
|
||||||
.replace(RE_BR, '\n')
|
.replace(RE_BR, '\n')
|
||||||
|
.replace(/\n$/i, '')
|
||||||
.replace(RE_CLEAN_HTML, '')
|
.replace(RE_CLEAN_HTML, '')
|
||||||
.match(RE_EMOJI_SEARCH);
|
.match(RE_EMOJI_SEARCH);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user