From a7738f6177477baef332ddf8b13d85d1186e8cf6 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 26 Mar 2019 11:17:31 +0000 Subject: [PATCH] Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl As of 18.11 the IntranetReportsHomeHTML syspref no longer renders HTML on report-home.pl. I think this is being filtered wrong in the template. Test Plan: 1) Edit IntranetReportsHomeHTML, set to "

Test

" 2) View a report, note that you see the html p tags are displayed litterly 3) Apply this patch 4) Reload the page 5) Note the p tags are rendered as html Signed-off-by: George Williams Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit 7aaa10e0922b21f1c9ed40ede0d3dfc0a63c2832) Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/reports/reports-home.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt index 20be414b9a..e4901bbd62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt @@ -1,4 +1,5 @@ [% USE Koha %] +[% USE raw %] [% INCLUDE 'doc-head-open.inc' %] Koha › Reports [% INCLUDE 'doc-head-close.inc' %] @@ -89,7 +90,7 @@
- [% Koha.Preference('IntranetReportsHomeHTML') | html %] + [% Koha.Preference('IntranetReportsHomeHTML') | $raw %]
[% INCLUDE 'intranet-bottom.inc' %] -- 2.39.5