From ae4b283b0249771f37aa6f8e28901b42abc00103 Mon Sep 17 00:00:00 2001 From: David <dcook@prosentient.com.au> Date: Tue, 13 Mar 2012 10:17:32 +1100 Subject: [PATCH] Bug 7618 Escape HTML special characters for SQL displayed above results in Report module Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> --- .../en/modules/reports/guided_reports_start.tt | 2 +- 1 files changed, 1 insertions(+), 1 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 caf27f1..137fdbf 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 @@ -496,7 +496,7 @@ canned reports and writing custom SQL reports.</p> <h1>[% name %]</h1> [% IF ( notes ) %]<p>[% notes %]</p>[% END %] [% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %] -<pre id="sql_output">[% sql %]</pre> +<pre id="sql_output">[% sql |html %]</pre> <div class="pages">[% pagination_bar %]</div> [% UNLESS ( errors ) %] <table> -- 1.7.5.4