diff --git a/C4/XSLT.pm b/C4/XSLT.pm index e63ecaf503..cc442b9468 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -139,7 +139,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\; /\&\; /;