From 18296f3c64c6d3ca13bb7b11912ac0b9848b83cf 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 | 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 081cbb05bc8..c5d7536b572 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.49.0