X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FOutput.pm;h=9087075ee5153866725466d6583ec73fc8a5f51c;hb=1e255e93eb4e3532ad69d1291c9c0b96b21ee8d9;hp=75ced4655102ba1daabc68e835b1572944b878e2;hpb=7650a34754d5265a749c070228ad04b397d3cf3a;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 ); }