From 2502734a2b1647837d2b3324fc2635874bec3876 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 26 May 2023 12:41:05 +0000 Subject: [PATCH] Bug 33845: (follow-up) escape hold notes for display Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/js/holds.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index e2bd4401d3..c07380df20 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -233,7 +233,11 @@ $(document).ready(function() { } } }, - { "data": "reservenotes" }, + { + "mDataProp": function( oObj ) { + return oObj.reservenotes && oObj.reservenotes.escapeHtml() || ""; + } + }, { "bSortable": false, "mDataProp": function( oObj ) { -- 2.30.2