Closed FlameWolf closed 5 years ago
It would be better if you could replace fullName.innerHTML with fullName.innerHTML.replace(/<img\s+.*?class="\s*Emoji\s*.*?".*?alt="(.*?)".*?>/g, "$1") so that usernames containing emoji will be displayed properly.
fullName.innerHTML
fullName.innerHTML.replace(/<img\s+.*?class="\s*Emoji\s*.*?".*?alt="(.*?)".*?>/g, "$1")
It would be better if you could replace
fullName.innerHTML
withfullName.innerHTML.replace(/<img\s+.*?class="\s*Emoji\s*.*?".*?alt="(.*?)".*?>/g, "$1")
so that usernames containing emoji will be displayed properly.