From 530e76f89c8fee400e781aecf45ad548191ccb2f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 20 Sep 2018 15:30:49 -0400 Subject: [PATCH] Bug 21352: Use the raw filter for plugin hooks, both opac and staff side Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 0cd6b7ea38..84d32eb073 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -25,7 +25,7 @@ [% END %] [% IF ( IntranetUserCSS ) %][% END %] -[% KohaPlugins.get_plugins_intranet_head | html %] +[% KohaPlugins.get_plugins_intranet_head | $raw %] [% UNLESS ( footerjs ) %] [% INCLUDE js_includes.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc index cfbf362c7a..d7d75bb300 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc @@ -72,5 +72,5 @@ [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] [% END %] -[% KohaPlugins.get_plugins_intranet_js | html %] +[% KohaPlugins.get_plugins_intranet_js | $raw %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index 480b5a545e..22160e92de 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -56,4 +56,4 @@ [% Asset.js("lib/modernizr.min.js") | $raw %] [% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] [% PROCESS 'html_helpers.inc' %] -[% KohaPlugins.get_plugins_opac_head | html %] +[% KohaPlugins.get_plugins_opac_head | $raw %] -- 2.17.1 (Apple Git-112)