]> git.koha-community.org Git - koha.git/commit
Bug 3326: Work around Zebra's handling of & entities
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Tue, 15 Mar 2011 02:14:19 +0000 (22:14 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 22 Mar 2011 21:21:13 +0000 (17:21 -0400)
commit6e3466d022bfe4dfadd4e2f2bc21289a9c84e991
tree81b9c64ef61fb1bd47dcff66a32d33760825253a
parent3ca14dd3269b9629d2fe9bbb3bcc78faa6b8a5fa
Bug 3326: Work around Zebra's handling of &amp; entities

When using XSLT mode, the OPAC results display will show "&amp;" instead of "&"
when Zebra is indexing in XML mode. This patch works around this by replacing
"&amp;" with "&" and then extends the previous fix to apply to all occurrences
of "& " instead of just the first.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d52f3680f482a42cc98ad9810c011c8775d9b3ee)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm
C4/XSLT.pm