View | Details | Raw Unified | Return to bug 11741
Collapse All | Expand All

(-)a/C4/XSLT.pm (-2 / +3 lines)
Lines 215-222 sub XSLTParse4Display { Link Here
215
    }
215
    }
216
    $sysxml .= "</sysprefs>\n";
216
    $sysxml .= "</sysprefs>\n";
217
    $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/;
217
    $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/;
218
    if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs
218
    if ($fixamps) { # We need to correct the HTML entities that Zebra outputs
219
        $xmlrecord =~ s/\&amp;amp;/\&amp;/g;
219
        $xmlrecord =~ s/\&amp;amp;/\&amp;/g;
220
        $xmlrecord =~ s/\&amp\;lt\;/\&lt\;/g;
221
        $xmlrecord =~ s/\&amp\;gt\;/\&gt\;/g;
220
    }
222
    }
221
    $xmlrecord =~ s/\& /\&amp\; /;
223
    $xmlrecord =~ s/\& /\&amp\; /;
222
    $xmlrecord =~ s/\&amp\;amp\; /\&amp\; /;
224
    $xmlrecord =~ s/\&amp\;amp\; /\&amp\; /;
223
- 

Return to bug 11741