projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a4bf8
)
modify to actually work
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 2 Jul 2006 19:47:22 +0000
(19:47 +0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 2 Jul 2006 19:47:22 +0000
(19:47 +0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 7002b55bed24169e3c356ff22af9bc5d0f0e9fcc..e86581415c9ff5ef12fe4fc6ca89174eb3646aa8 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-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", @_;
} #}}}