Bugzilla – Attachment 106805 Details for
Bug 24473
Syndetics content should be $raw filtered on opac-detail.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24473: Add $raw filter for Syndetics content
Bug-24473-Add-raw-filter-for-Syndetics-content.patch (text/plain), 3.45 KB, created by
Katrin Fischer
on 2020-07-12 11:12:02 UTC
(
hide
)
Description:
Bug 24473: Add $raw filter for Syndetics content
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-07-12 11:12:02 UTC
Size:
3.45 KB
patch
obsolete
>From 87062d9970fe7d2d002cdb270fd6dc49140767b3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 21 Jan 2020 17:53:09 +0000 >Subject: [PATCH] Bug 24473: Add $raw filter for Syndetics content > >Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 ) %] > <h4>Enhanced descriptions from Syndetics:</h4> >- <p>[% SYNDETICS_SUMMARY | html %]</p> >+ <p>[% SYNDETICS_SUMMARY | $raw %]</p> > [% END %] > > [% IF ( MARCNOTES ) %] >@@ -678,7 +678,7 @@ > <h3>Table of contents provided by Syndetics</h3> > <ul> > [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %] >- <li><strong>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</strong>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li> >+ <li><strong>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</strong>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | $raw %])[% END %]</li> > [% END %] > </ul> > </div> >@@ -689,7 +689,7 @@ > <div id="excerpt"> > <div class="content_set"> > <h3>Excerpt provided by Syndetics</h3> >- [% SYNDETICS_EXCERPT | html %] >+ [% SYNDETICS_EXCERPT | $raw %] > </div> > </div> > [% 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 @@ > <h3>Author notes provided by Syndetics</h3> > [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] > [% IF ( SYNDETICS_ANOTE.content ) %] >- [% SYNDETICS_ANOTE.content | html %] >+ [% SYNDETICS_ANOTE.content | $raw %] > [% END %] > [% END %] > </div> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24473
:
97679
|
98077
| 106805