Updated client-side DOM manipulation functions to unescape char-codes before injecting them via innerText instead of raw-dogging it into innerHTML
This commit is contained in:
parent
e46513cc1a
commit
4ed4b572f2
10 changed files with 25 additions and 26 deletions
|
|
@ -220,7 +220,7 @@ class emotePanel extends panelObj{
|
|||
//Set title class
|
||||
emoteTitle.classList.add('emote-list-title');
|
||||
//Set emote title
|
||||
emoteTitle.innerHTML = `[${emote.name}]`;
|
||||
emoteTitle.textContent = utils.unescapeEntities(`[${emote.name}]`);
|
||||
|
||||
//if we're rendering personal emotes
|
||||
if(personal){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue