Translated & to & in xmlrecord
If the homebranch tag had an & in its name, then the XML wouldn't parse correctly. As a result, if XSLT was turned on, "No copies available" would always be displayed.
This commit is contained in:
parent
1d9de57e23
commit
77141dab35
|
|
@ -133,6 +133,7 @@ sub XSLTParse4Display {
|
|||
}
|
||||
$sysxml .= "</sysprefs>\n";
|
||||
$xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/;
|
||||
$xmlrecord =~ s/\& /\&\; /;
|
||||
|
||||
my $parser = XML::LibXML->new();
|
||||
# don't die when you find &, >, etc
|
||||
|
|
|
|||
Loading…
Reference in New Issue