From 6f21e6dc4f935a838c5d8af0b1faa6e8d45a6abd Mon Sep 17 00:00:00 2001 From: Theodoros Theodoropoulos 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 Signed-off-by: David Cook --- .../en/modules/reports/guided_reports_start.tt | 14 +++++++------- 1 file changed, 7 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 081cbb05bc..c5d7536b57 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 @@ - + @@ -883,7 +883,7 @@

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

[% IF ( notes ) %] -

[% notes | html %]

+

[% notes | $raw %]

[% END %]
    @@ -943,7 +943,7 @@ >
    [% IF ( notes ) %] -

    Notes: [% notes | html %]

    +

    Notes: [% notes | $raw %]

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

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

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

Saved report results

[% name | html %]

-

[% notes | html %]

+

[% notes | $raw %]

[% FOREACH rows IN saved_results %] @@ -1465,7 +1465,7 @@ [% IF ( notes ) %]
  • Notes: - [% notes | html %] + [% notes | $raw %]
  • [% ELSE %] @@ -1533,7 +1533,7 @@ [% END %]
  • - +
  • -- 2.39.5