Bug 10330 - Rename system preference authoritysep to AuthoritySeperator
[koha_fer] / C4 / XSLT.pm
index d85b048..163b5a4 100644 (file)
@@ -215,8 +215,10 @@ sub XSLTParse4Display {
     }
     $sysxml .= "</sysprefs>\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;amp;/\&amp;/g;
+        $xmlrecord =~ s/\&amp\;lt\;/\&lt\;/g;
+        $xmlrecord =~ s/\&amp\;gt\;/\&gt\;/g;
     }
     $xmlrecord =~ s/\& /\&amp\; /;
     $xmlrecord =~ s/\&amp\;amp\; /\&amp\; /;