From 19925fe894ceadf9d5facfdae814c175528811c9 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 27 Mar 2018 16:30:35 -0400 Subject: [PATCH] LP#1757526: escape more catalog data (MFHD edition) This patch ensures that data derived from MFHDs is escaped for in the issues held tab on the public catalog record display page. Signed-off-by: Galen Charlton Signed-off-by: Chris Sharp Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2 b/Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2 index ced0ec6834..bd6bb97cf2 100644 --- a/Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2 @@ -20,7 +20,7 @@ NEXT UNLESS serial.$type.size; IF !printed_mfhd_header; %] - [% l('Holdings summary ([_1])', serial.location) %] + [% l('Holdings summary ([_1])', serial.location) | html %] [% printed_mfhd_header = 1; END; %] @@ -28,7 +28,7 @@ [% mfhd.$type %] [% FOR thing IN serial.$type; - thing.join(", "); + thing.join(", ") | html; END %] [% END; -- 2.43.2