From 31afefafb5aedad2e35707a38755012fc0eb67e6 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 11 Feb 2021 23:27:01 +0000 Subject: [PATCH] Bug 27691: Add $raw filter to report notes output To test: Add a report with some notes that include HTML:

TEST

Run the report, the HTML displays literally Apply patch Run the report again. HTML looks good Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index f6589543a6..a5390f1413 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -849,7 +849,7 @@ [% IF ( execute ) %]

[% name | html %] ([% id | html %])

[% IF ( notes ) %] -

Notes: [% notes | html %]

+

Notes: [% notes | $raw %]

[% END %] [% IF ( unlimited_total ) %]

-- 2.11.0