modify to actually work
parent
24a4bf8977
commit
628e2ad5e0
|
@ -394,7 +394,10 @@ sub template_params (@) { #{{{
|
|||
|
||||
require Encode;
|
||||
require HTML::Template;
|
||||
return filter => \&Encode::decode_utf8,
|
||||
return filter => sub {
|
||||
my $text_ref = shift;
|
||||
$$text_ref=&Encode::decode_utf8($$text_ref);
|
||||
},
|
||||
filename => "$config{templatedir}/$filename", @_;
|
||||
} #}}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue