]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
responses
[git.ikiwiki.info.git] / IkiWiki.pm
index 6d89adddf78a24792f8b986eaee0446b6caa98d9..720afdecd0faabf496f8e93797be1174b010c91c 100644 (file)
@@ -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,