Remove unneeded escape characters

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2019-12-09 21:50:13 +02:00
parent 81357eb5b0
commit 7031d19d25
5 changed files with 5 additions and 5 deletions

View File

@@ -444,7 +444,7 @@ function escapeHtml(text) {
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"\'": "&#039;"
"'": "&#039;"
};
return text.replace(/[&<>"']/g, function(m) { return map[m]; });