X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e257fa36cfb1ff40a451d8e2ce1f71e477701640..6f266e929ff3eaefc84c34b46fa452c50eecbcf4:/SL/Template/Plugin/HTMLFixes.pm diff --git a/SL/Template/Plugin/HTMLFixes.pm b/SL/Template/Plugin/HTMLFixes.pm index 3f328a842..5c6207829 100644 --- a/SL/Template/Plugin/HTMLFixes.pm +++ b/SL/Template/Plugin/HTMLFixes.pm @@ -12,12 +12,12 @@ use Encode; # Replacement for Template::Plugin::HTML::url. -# Strings in Lx-Office are stored in Perl's internal encoding but have +# Strings in kivitendo are stored in Perl's internal encoding but have # to be output as UTF-8. A normal regex replace doesn't do that # creating invalid UTF-8 characters upon URL-unescaping. # The only addition is the "Encode::encode()" line. - +no warnings 'redefine'; sub url { my ($self, $text) = @_; return undef unless defined $text;