From dab7e22c68dd9328bf2768e7e20e444f1311c875 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 22 Oct 2018 17:52:46 -0300 Subject: [PATCH] Bug 21529: (bug 13618 follow-up) Display print notices with HTML tags Replace a wrong html filter with raw. Test plan: Define a HOLD or DISCHARGE notice template, with html tags. Generate them and confirm that html tags are displayed (which restore the existing behaviour prior to bug 13618) Signed-off-by: Andrew Isherwood Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit b704a1adfc3fcee739194d7d6cb79800ba991e51) Signed-off-by: Jesse Maseto --- koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt index 75fbf97cb5..7b3c09f76d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt @@ -19,7 +19,7 @@ [% FOREACH message IN messages %]
-
[% message.content %]
+
[% message.content | $raw %]
[% END %] -- 2.39.5