From 49a3738b8d54580e80e92e74fdba0483008b5cfd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 22 Jun 2015 16:44:34 +0200 Subject: [PATCH] Bug 13618: Specific places where we don't need to escape variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is no need to escape the html generated by the XSLT. Signed-off-by: Signed-off-by: Joonas Kylmälä Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 1a9a4a5d51..82827c5c59 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -109,7 +109,7 @@ [% IF ( ISBD ) %]ISBD view[% END %] [% IF ( OPACXSLTDetailsDisplay ) %] - [% XSLTBloc %] + [% XSLTBloc.raw %] [% ELSE %]

[% title %][% IF ( subtitle ) %] [% FOREACH subtitl IN subtitle %][% subtitl.subfield %] [% END %][% END %]

[% IF ( author ) %]
by [% author %]
[% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 09eb8ae055..9f5019cd36 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -321,7 +321,7 @@ [% END %] [% IF ( OPACXSLTResultsDisplay ) %] - [% SEARCH_RESULT.XSLTResultsRecord %] + [% SEARCH_RESULT.XSLTResultsRecord.raw %] [% ELSE %] [% IF ( BiblioDefaultViewmarc ) %] -- 2.39.5