Bug 7535: ampersands not showing properly in non-XSLT OPAC
Jared's fix for Bug 3326 fixed this in the staff client, but not the OPAC; moving this one line fixes it
both places.
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This can be replicated by indexing with -x
OPACXSLTResults must be set to "normally"
Reproduced original bug with rebuild-zebra.pl -x -b -w -r -v -v
Patch corrects the issue, does not change intranet behavior.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit bbfaf8264c)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
bbd2cbd2d9
commit
b6af3f6f34
|
|
@ -297,12 +297,12 @@ sub output_with_http_headers($$$$;$) {
|
|||
|
||||
# utf8::encode($data) if utf8::is_utf8($data);
|
||||
|
||||
$data =~ s/\&\;amp\; /\&\; /g;
|
||||
print $query->header($options), $data;
|
||||
}
|
||||
|
||||
sub output_html_with_http_headers ($$$;$) {
|
||||
my ( $query, $cookie, $data, $status ) = @_;
|
||||
$data =~ s/\&\;amp\; /\&\; /g;
|
||||
output_with_http_headers( $query, $cookie, $data, 'html', $status );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue