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

This commit is contained in:
Kyle Hall 2024-03-29 07:07:54 -04:00 committed by Fridolin Somers
parent a9a2b68619
commit 0a53dabd14

View file

@ -19,9 +19,7 @@ function formatstr(str, col) {
var HtmlCharsToEscape = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
"'": '&#39;',
'"': '&quot;'
'>': '&gt;'
};
String.prototype.escapeHtml = function() {
return this.replace(/[&<>]/g, function(c) {