mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
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, {
|
||||
escapeHTML: function(text) {
|
||||
text = String(text);
|
||||
text = String(text).replace('<', '<').replace('>', '>');
|
||||
return text.replace('&', '&');
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user