From 53755454657ed9cbef1f947241d4f28ce64db93b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 21 Sep 2021 10:27:15 +0200 Subject: [PATCH] Bug 23978: Expose HTML in Reports This patch updates the notes field to a $raw filter to prevent html escaping of the data within it. Signed-off-by: Martin Renvoize --- .../en/modules/reports/guided_reports_start.tt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 1b639d26c66..5083b83c60e 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 @@ -822,7 +822,7 @@ - + @@ -861,7 +861,7 @@

Enter parameters for report [% name | html %]:

[% IF ( notes ) %] -

[% notes | html %]

+

[% notes | $raw %]

[% END %]
    @@ -910,7 +910,7 @@

    [% name | html %] Report ID: [% id | html %]

    [% IF ( notes ) %] -

    Notes: [% notes | html %]

    +

    Notes: [% notes | $raw %]

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

    @@ -1276,7 +1276,7 @@ [% END # /IF (usecache) %]

  1. - +
@@ -1304,7 +1304,7 @@ [% IF saved_results %]

Saved report results

[% name | html %]

-

[% notes | html %]

+

[% notes | $raw %]

[% FOREACH rows IN saved_results %] @@ -1324,7 +1324,7 @@ [% IF ( notes ) %]
  • Notes: - [% notes | html %] + [% notes | $raw %]
  • [% ELSE %] [% END %] @@ -1390,7 +1390,7 @@ [% END %]
  • - +
  • @@ -2509,3 +2509,4 @@ [% END %] + -- 2.43.0