mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
add < and > escaping to the html escape method
This commit is contained in:
parent
e17bd472a8
commit
826f1a2be9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue