Bugzilla – Attachment 7706 Details for
Bug 7535
OPAC displays ampersands incorrectly.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed Off] Bug 7535: ampersands not showing properly in non-XSLT OPAC
Signed-Off-Bug-7535-ampersands-not-showing-properl.patch (text/plain), 1.26 KB, created by
Liz Rea
on 2012-02-16 23:51:11 UTC
(
hide
)
Description:
[Signed Off] Bug 7535: ampersands not showing properly in non-XSLT OPAC
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-02-16 23:51:11 UTC
Size:
1.26 KB
patch
obsolete
>From 543084fd3a1fba9c303c5e4548f8548ebcadb125 Mon Sep 17 00:00:00 2001 >From: D Ruth Bavousett <ruth@bywatersolutions.com> >Date: Mon, 13 Feb 2012 10:25:40 -0500 >Subject: [PATCH] [Signed Off] Bug 7535: ampersands not showing properly in > non-XSLT OPAC >Content-Type: text/plain; charset="utf-8" > >Jared's fix for Bug 3326 fixed this in the staff client, but not the OPAC; moving this one line fixes it >both places. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >This can be replicated by indexing with -x >OPACXSLTResults must be set to "normally" >Reproduced original bug with rebuild-zebra.pl -x -b -w -r -v -v >Patch corrects the issue, does not change intranet behavior. >--- > C4/Output.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Output.pm b/C4/Output.pm >index 75ced46..9087075 100644 >--- a/C4/Output.pm >+++ b/C4/Output.pm >@@ -297,12 +297,12 @@ sub output_with_http_headers($$$$;$) { > > # utf8::encode($data) if utf8::is_utf8($data); > >+ $data =~ s/\&\;amp\; /\&\; /g; > print $query->header($options), $data; > } > > sub output_html_with_http_headers ($$$;$) { > my ( $query, $cookie, $data, $status ) = @_; >- $data =~ s/\&\;amp\; /\&\; /g; > output_with_http_headers( $query, $cookie, $data, 'html', $status ); > } > >-- >1.7.5.4
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 7535
:
7628
| 7706