diff --git a/C4/XSLT.pm b/C4/XSLT.pm index d60268893e..2d1faccadd 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -140,7 +140,7 @@ sub XSLTParse4Display { $sysxml .= "\n"; $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs - $xmlrecord =~ s/\&/\&/g; + $xmlrecord =~ s/\&amp;/\&/g; } $xmlrecord =~ s/\& /\&\; /; $xmlrecord =~ s/\&\;amp\; /\&\; /;