]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/shortcut.pm
memoization for injected RPC functions is a very, very good thing
[git.ikiwiki.info.git] / IkiWiki / Plugin / shortcut.pm
index 28d0c71771e7d407967b4bea649fe301a08306b5..ca527ce3ca533a12ed4dc2bb3c1ae73a148383db 100644 (file)
@@ -53,7 +53,7 @@ sub shortcut_expand ($$@) { #{{{
        my $text=join(" ", @params);
        my $encoded_text=$text;
        $encoded_text=~s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
        my $text=join(" ", @params);
        my $encoded_text=$text;
        $encoded_text=~s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
-       
+
        $text=~s/_/ /g;
        if (defined $desc) {
                $desc=~s/\%s/$text/g;
        $text=~s/_/ /g;
        if (defined $desc) {
                $desc=~s/\%s/$text/g;