Bugzilla – Attachment 97679 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.32 KB, created by
Lucas Gass (lukeg)
on 2020-01-21 18:00:11 UTC
(
hide
)
Description:
Bug 24473: Add $raw filter for Syndetics content
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-01-21 18:00:11 UTC
Size:
3.32 KB
patch
obsolete
>From a3f0c0e6834ef34c88076e691dbbed4cc692de87 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 > >--- > 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 9ab7a1017e..7a81f2eb0c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -719,7 +719,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 ) %] >@@ -751,7 +751,7 @@ > <h3>Table of contents provided by Syndetics</h3> > <ul> > [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %] >- <li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li> >+ <li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | $raw %])[% END %]</li> > [% END %] > </ul> > </div> >@@ -762,7 +762,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 %] >@@ -777,7 +777,7 @@ > [% FOREACH review IN SYNDETICS_REVIEW.reviews %] > > [% IF ( review.content ) %] >- [% review.content | html %] >+ [% review.content | $raw %] > [% END %] > > [% END %] >@@ -793,7 +793,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