mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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, {
|
Ext.apply(Ext, {
|
||||||
escapeHTML: function(text) {
|
escapeHTML: function(text) {
|
||||||
text = String(text);
|
text = String(text).replace('<', '<').replace('>', '>');
|
||||||
return text.replace('&', '&');
|
return text.replace('&', '&');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue