Index: openacs-4/packages/xowiki/www/ajax/chat-common.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ajax/Attic/chat-common.js,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/xowiki/www/ajax/chat-common.js 28 Sep 2018 12:21:43 -0000 1.2 +++ openacs-4/packages/xowiki/www/ajax/chat-common.js 1 Oct 2018 14:10:29 -0000 1.3 @@ -17,7 +17,7 @@ p.appendChild(span); span = document.createElement('span'); - var user = msg.user.replace("\\'", "'"); + var user = msg.user.replace(/\\'/g, "\""); span.innerHTML = ' ' + user + ': '; span.className = 'xowiki-chat-user'; p.appendChild(span); @@ -47,7 +47,7 @@ p.appendChild(span); span = document.createElement('span'); - var user = msg.message[i].user.replace("\\'", "'"); + var user = msg.message[i].user.replace(/\\'/g, "\""); span.innerHTML = ' ' + user + ' '; span.className = 'xowiki-chat-user'; p.appendChild(span);