add < and > escaping to the html escape method
This commit is contained in:
parent
e17bd472a8
commit
826f1a2be9
|
@ -50,7 +50,7 @@ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
|
|
||||||
Ext.apply(Ext, {
|
Ext.apply(Ext, {
|
||||||
escapeHTML: function(text) {
|
escapeHTML: function(text) {
|
||||||
text = String(text);
|
text = String(text).replace('<', '<').replace('>', '>');
|
||||||
return text.replace('&', '&');
|
return text.replace('&', '&');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue