From 7c7794d838d1ed54c71edd91d4eca3a2c07127f9 Mon Sep 17 00:00:00 2001 From: Cindy Murdock Ames Date: Thu, 18 Mar 2010 17:01:43 -0400 Subject: [PATCH] Fix for ampersand display problem in OPAC search results This is a quick fix to XSLTParse4Display to make ampersands display correctly in OPAC search results. Signed-off-by: Galen Charlton --- C4/XSLT.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 0bfa6db9f8..ec5d5320ca 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -136,6 +136,7 @@ sub XSLTParse4Display { $sysxml .= "\n"; $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; $xmlrecord =~ s/\& /\&\; /; + $xmlrecord=~ s/\&\;amp\; /\&\; /; my $parser = XML::LibXML->new(); # don't die when you find &, >, etc -- 2.39.5