mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Remove unneeded escape characters
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -444,7 +444,7 @@ function escapeHtml(text) {
|
||||
"<": "<",
|
||||
">": ">",
|
||||
"\"": """,
|
||||
"\'": "'"
|
||||
"'": "'"
|
||||
};
|
||||
|
||||
return text.replace(/[&<>"']/g, function(m) { return map[m]; });
|
||||
|
||||
Reference in New Issue
Block a user