This commit is contained in:
cutls 2022-12-10 12:29:06 +09:00
parent 6f247c9f09
commit bf4f3c2e5e

View File

@ -845,10 +845,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type, onlyContent) {
}) })
} }
//デフォ絵文字 //デフォ絵文字
const contentElement = document.createElement('div') content = twemoji.parse(content)
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)