X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FXSLT.pm;h=163b5a42a8871886c5025ae804a20e38214278f1;hb=ad6d36776362a398a46acef0d00ca67a7d7a11c7;hp=d85b0486cd29b8f9f9880b76c69535623489d4ab;hpb=dbaefb626ce5c2022b647fc15e6d0a0d68fa0784;p=koha_fer diff --git a/C4/XSLT.pm b/C4/XSLT.pm index d85b0486cd..163b5a42a8 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -215,8 +215,10 @@ sub XSLTParse4Display { } $sysxml .= "\n"; $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; - if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs + if ($fixamps) { # We need to correct the HTML entities that Zebra outputs $xmlrecord =~ s/\&amp;/\&/g; + $xmlrecord =~ s/\&\;lt\;/\<\;/g; + $xmlrecord =~ s/\&\;gt\;/\>\;/g; } $xmlrecord =~ s/\& /\&\; /; $xmlrecord =~ s/\&\;amp\; /\&\; /;