X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FOutput.pm;h=75ced4655102ba1daabc68e835b1572944b878e2;hb=d785d9d57dad2d529b1dd243c6ce3c4ddce3bc80;hp=41a0a2863cff6ceaba8bbe3c84addee81ed31049;hpb=c8df6bdcc9fe2523a77c839270b31304d8e13ee5;p=koha_gimpoz diff --git a/C4/Output.pm b/C4/Output.pm index 41a0a2863c..75ced46551 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -33,7 +33,6 @@ use C4::Dates qw(format_date); use C4::Budgets qw(GetCurrency); use C4::Templates; -#use HTML::Template::Pro; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { @@ -292,10 +291,7 @@ sub output_with_http_headers($$$$;$) { $options->{'Content-Style-Type' } = 'text/css'; $options->{'Content-Script-Type'} = 'text/javascript'; } - # remove SUDOC specific NSB NSE - $data =~ s/\x{C2}\x{98}|\x{C2}\x{9C}/ /g; - $data =~ s/\x{C2}\x{88}|\x{C2}\x{89}/ /g; - + # We can't encode here, that will double encode our templates, and xslt # We need to fix the encoding as it comes out of the database, or when we pass the variables to templates