X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/25294defb814e6d4a53848c89a86e982bda1fc30..a1bb69510a029e9b01f09458e9b26a2bc5c5606c:/IkiWiki.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index 6d89adddf..720afdecd 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -39,7 +39,7 @@ sub defaultconfig () { #{{{ wiki_link_regexp => qr{ \[\[ # beginning of link (?: - ([^\]\|\n]+) # 1: link text + ([^\]\|\n]+) # 1: link text \| # followed by '|' )? # optional @@ -903,7 +903,7 @@ sub template_params (@) { #{{{ my @ret=( filter => sub { my $text_ref = shift; - ${$text_ref} = Encode::decode_utf8(${$text_ref}); + ${$text_ref} = decode_utf8(${$text_ref}); }, filename => $filename, loop_context_vars => 1,