From 87062d9970fe7d2d002cdb270fd6dc49140767b3 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 21 Jan 2020 17:53:09 +0000 Subject: [PATCH] Bug 24473: Add $raw filter for Syndetics content Signed-off-by: Stina Hallin Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 e18ab3659f..224b9b845c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -646,7 +646,7 @@ [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]

Enhanced descriptions from Syndetics:

-

[% SYNDETICS_SUMMARY | html %]

+

[% SYNDETICS_SUMMARY | $raw %]

[% END %] [% IF ( MARCNOTES ) %] @@ -678,7 +678,7 @@

Table of contents provided by Syndetics

    [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %] -
  • [% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %][% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]
  • +
  • [% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %][% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | $raw %])[% END %]
  • [% END %]
@@ -689,7 +689,7 @@

Excerpt provided by Syndetics

- [% SYNDETICS_EXCERPT | html %] + [% SYNDETICS_EXCERPT | $raw %]
[% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %] @@ -704,7 +704,7 @@ [% FOREACH review IN SYNDETICS_REVIEW.reviews %] [% IF ( review.content ) %] - [% review.content | html %] + [% review.content | $raw %] [% END %] [% END %] @@ -720,7 +720,7 @@

Author notes provided by Syndetics

[% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] [% IF ( SYNDETICS_ANOTE.content ) %] - [% SYNDETICS_ANOTE.content | html %] + [% SYNDETICS_ANOTE.content | $raw %] [% END %] [% END %] -- 2.11.0