From 9d3c30719c49c070d886c3b554806d52aa3166f1 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 636522fa44e..92ad13f0b46 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) { -- 2.30.2