Bug 3326: Staff results still displayed &
In certain circumstances, ampersands would not be displayed properly in the Staff client search results. This patch fixes that by ensuring that all the doubled ampersands that Zebra inserts in XML indexing mode are replaced by the correct single ampersand entity. Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
b853b79001
commit
fa7ca5c8b8
|
|
@ -474,7 +474,7 @@ sub output_with_http_headers($$$$;$) {
|
|||
|
||||
sub output_html_with_http_headers ($$$;$) {
|
||||
my ( $query, $cookie, $data, $status ) = @_;
|
||||
$data =~ s/\&\;amp\; /\&\; /;
|
||||
$data =~ s/\&\;amp\; /\&\; /g;
|
||||
output_with_http_headers( $query, $cookie, $data, 'html', $status );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue