X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FOutput.pm;h=9087075ee5153866725466d6583ec73fc8a5f51c;hb=4076e43d224f7c81d09e635671c53abb09cb5b75;hp=75ced4655102ba1daabc68e835b1572944b878e2;hpb=9c06057f21f1cdbc0a87ecbbdf84306e51e3d6a0;p=koha_gimpoz diff --git a/C4/Output.pm b/C4/Output.pm index 75ced46551..9087075ee5 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -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 ); }