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 "<p>Test</p>"
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 <george@nekls.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit
7aaa10e0922b21f1c9ed40ede0d3dfc0a63c2832)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
[% USE Koha %]
+[% USE raw %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Reports</title>
[% INCLUDE 'doc-head-close.inc' %]
</div>
<div class="col-md-12" id="intranet-reports-home-html">
- [% Koha.Preference('IntranetReportsHomeHTML') | html %]
+ [% Koha.Preference('IntranetReportsHomeHTML') | $raw %]
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]