Index: openacs-4/packages/xowiki/www/ajax/scripted-streaming-chat.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ajax/Attic/scripted-streaming-chat.js,v diff -u -r1.5 -r1.6 --- openacs-4/packages/xowiki/www/ajax/scripted-streaming-chat.js 7 Aug 2017 23:48:31 -0000 1.5 +++ openacs-4/packages/xowiki/www/ajax/scripted-streaming-chat.js 20 Sep 2018 13:03:01 -0000 1.6 @@ -15,7 +15,8 @@ p.appendChild(span); span = document.createElement('span'); - span.innerHTML = ' ' + data.messages[i].user + ' '; + var user = data.messages[i].user.replace("\\'", "'"); + span.innerHTML = ' ' + user + ' '; span.className = 'user'; p.appendChild(span); Index: openacs-4/packages/xowiki/www/ajax/streaming-chat.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ajax/Attic/streaming-chat.js,v diff -u -r1.11 -r1.12 --- openacs-4/packages/xowiki/www/ajax/streaming-chat.js 19 Sep 2018 17:01:48 -0000 1.11 +++ openacs-4/packages/xowiki/www/ajax/streaming-chat.js 20 Sep 2018 13:03:01 -0000 1.12 @@ -24,7 +24,8 @@ p.appendChild(span); span = document.createElement('span'); - span.innerHTML = ' ' + data.messages[i].user + ' '; + var user = data.messages[i].user.replace("\\'", "'"); + span.innerHTML = ' ' + user + ' '; span.className = 'user'; p.appendChild(span);