projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c99c47
)
Fix for ampersand display problem in OPAC search results
author
Cindy Murdock Ames
<cmurdock@ccfls.org>
Thu, 18 Mar 2010 21:01:43 +0000
(17:01 -0400)
committer
Galen Charlton
<gmcharlt@gmail.com>
Wed, 7 Apr 2010 15:12:34 +0000
(11:12 -0400)
This is a quick fix to XSLTParse4Display to make ampersands display
correctly in OPAC search results.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/XSLT.pm
patch
|
blob
|
history
diff --git
a/C4/XSLT.pm
b/C4/XSLT.pm
index
0bfa6db
..
ec5d532
100644
(file)
--- a/
C4/XSLT.pm
+++ b/
C4/XSLT.pm
@@
-136,6
+136,7
@@
sub XSLTParse4Display {
$sysxml .= "</sysprefs>\n";
$xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/;
$xmlrecord =~ s/\& /\&\; /;
+ $xmlrecord=~ s/\&\;amp\; /\&\; /;
my $parser = XML::LibXML->new();
# don't die when you find &, >, etc