Index: openacs-4/packages/xowiki/www/resources/chat-common.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/Attic/chat-common.js,v diff -u -r1.4 -r1.5 --- openacs-4/packages/xowiki/www/resources/chat-common.js 21 Nov 2018 11:15:41 -0000 1.4 +++ openacs-4/packages/xowiki/www/resources/chat-common.js 21 Nov 2018 11:29:30 -0000 1.5 @@ -96,9 +96,9 @@ // User name span = document.createElement('span'); - span.innerHTML = user; - span.className = 'xowiki-chat-user'; - span.style = 'color:' + color; + span.textContent = user; + span.setAttribute("class", "xowiki-chat-user"); + span.setAttribute("style", "color:" + color); a.appendChild(span); user_block.appendChild(a); previous_user_id = user_id; @@ -175,9 +175,9 @@ // User name span = document.createElement('span'); - span.innerHTML = user; - span.className = 'xowiki-chat-user'; - span.style = 'color:' + color; + span.textContent = user; + span.setAttribute("class", "xowiki-chat-user"); + span.setAttribute("style", "color:" + color); user_block.appendChild(span); br = document.createElement('br');