From f829221f818c1f7b7779f4bd74f633206deda2e1 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 12 Jul 2019 15:37:26 +0100 Subject: [PATCH] Bug 23308: Change html to filter to $raw This patch changes the erroneous html filter to $raw Test plan: - Apply patch - Enter some HTML into the OpacMaintenanceNotice syspref - View the OPAC front page => TEST: Observe that the notice displays correctly and the HTML is not escaped Signed-off-by: Maryse Simard Signed-off-by: frederik chenier Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt index 50cd287b18..b15bfbcf3e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt @@ -29,7 +29,7 @@
[% IF Koha.Preference( 'OpacMaintenanceNotice' ) %] - [% Koha.Preference( 'OpacMaintenanceNotice' ) | html %] + [% Koha.Preference( 'OpacMaintenanceNotice' ) | $raw %] [% ELSE %]

System Maintenance

The [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the site administrator

-- 2.39.5