Fix emoji in HTML attribute value
This commit is contained in:
parent
bf4f3c2e5e
commit
9af6c5536a
|
@ -845,7 +845,10 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type, onlyContent) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//デフォ絵文字
|
//デフォ絵文字
|
||||||
content = twemoji.parse(content)
|
const contentElement = document.createElement('div')
|
||||||
|
contentElement.innerHTML = content
|
||||||
|
const emojified = twemoji.parse(contentElement)
|
||||||
|
content = emojified.innerHTML
|
||||||
|
|
||||||
if (dis_name) {
|
if (dis_name) {
|
||||||
dis_name = twemoji.parse(dis_name)
|
dis_name = twemoji.parse(dis_name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user