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