From 247d0d1df1ee5cc7f3184d8ac6ab35373af739b3 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sat, 23 Mar 2019 08:13:13 +0000 Subject: [PATCH] Bug 22641: Use raw filter on html slip To test: Enable SCO Load a patron Hit finish, print slip Note slip shows as raw html Apply patch Repeat, get a correctly formatted slip Signed-off-by: Liz Rea Signed-off-by: Tomas Cohen Arazi https://bugs.koha-community.org/show_bug.cgi?id=22068 Signed-off-by: Nick Clemens --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt index b81a29100c..2693dd441c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt @@ -7,14 +7,14 @@ [% Asset.css("css/print.css") | $raw %] [% IF stylesheet %] - + [% END %] [% Asset.js("lib/jquery/jquery.js") | $raw %] [% Asset.js("js/global.js") | $raw %] -[% INCLUDE 'slip-print.inc' %] +[% INCLUDE 'slip-print.inc' #printThenClose %] @@ -25,7 +25,7 @@ [% slip | html %] [% ELSE %] - [% slip | html %] + [% slip | $raw %] [% END %] -- 2.39.5