escape text
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1090 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
d2898371e3
commit
872b2367e5
|
@ -42,8 +42,8 @@
|
|||
_onmessage: function(m) {
|
||||
if (m.data){
|
||||
var c=m.data.indexOf(':');
|
||||
var from=m.data.substring(0,c);
|
||||
var text=m.data.substring(c+1);
|
||||
var from=m.data.substring(0,c).replace('<','<').replace('>','>');
|
||||
var text=m.data.substring(c+1).replace('<','<').replace('>','>');
|
||||
|
||||
var chat=$('chat');
|
||||
var spanFrom = document.createElement('span');
|
||||
|
|
Loading…
Reference in New Issue