Bug 36382: (QA follow-up) Don't escape quotes in escapeHtml

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle M Hall 2024-03-29 07:07:54 -04:00 committed by Tomas Cohen Arazi
parent a104502437
commit 489f6f86fd
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@ var HtmlCharsToEscape = {
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"'": '&#39;',
'"': '&quot;'
};
String.prototype.escapeHtml = function () {
return this.replace(/[&<>]/g, function (c) {