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:
parent
a104502437
commit
489f6f86fd
|
|
@ -31,8 +31,6 @@ var HtmlCharsToEscape = {
|
|||
"&": "&",
|
||||
"<": "<",
|
||||
">": ">",
|
||||
"'": ''',
|
||||
'"': '"'
|
||||
};
|
||||
String.prototype.escapeHtml = function () {
|
||||
return this.replace(/[&<>]/g, function (c) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue