From 0a53dabd14a7f8765c1793139cb834e7bada0440 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 29 Mar 2024 07:07:54 -0400 Subject: [PATCH] Bug 36382: (QA follow-up) Don't escape quotes in escapeHtml --- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js index a1bab11f80..a4dde721b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js @@ -19,9 +19,7 @@ function formatstr(str, col) { var HtmlCharsToEscape = { '&': '&', '<': '<', - '>': '>', - "'": ''', - '"': '"' + '>': '>' }; String.prototype.escapeHtml = function() { return this.replace(/[&<>]/g, function(c) {