Follow up for Bug 3326: previous fix broke searches when
This fix ensures that searches will still work when -x is not used when
reindexing Zebra.
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Magnus Enger <magnus@bibkat.no>
Signed-off-by: Jane Wagner <jwagner@ptfs.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e18ddca9d4)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
56e210d8fd
commit
80be71dfd7
|
|
@ -139,7 +139,7 @@ sub XSLTParse4Display {
|
|||
$sysxml .= "</sysprefs>\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\; /\&\; /;
|
||||
|
|
|
|||
Loading…
Reference in New Issue