From fe9312a1240e58a04b0cd0c322d46c34a4b51891 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 8 Nov 2011 11:43:38 -0500 Subject: [PATCH] Fix for Bug 7194 - OPAC detail and recent comments pages corrections for XHTML validity - Adding html filter to subtitle output to correct unescaped ampersands - Adding missing alt attributes to libravatar output - Removing unecessary markup from comments page Bonus: Adding html_break filter to output of comments to preserve line breaks Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- .../opac-tmpl/prog/en/modules/opac-detail.tt | 16 ++++++++++------ .../prog/en/modules/opac-showreviews.tt | 11 +++++------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index d1b65705ab..066f4ff8c2 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -1,4 +1,4 @@ -[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield %][% END %] +[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %] [% INCLUDE 'doc-head-close.inc' %]