]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/shortcut.pm
response
[git.ikiwiki.info.git] / IkiWiki / Plugin / shortcut.pm
index fb096ecbd8677d183634bfae095ec40895bfbf2c..c3e1f5446f6c98ca9f3c9c65a7a014b7c7e15c59 100644 (file)
@@ -62,6 +62,9 @@ sub shortcut_expand ($$@) { #{{{
        }eg;
 
        $text=~s/_/ /g;
        }eg;
 
        $text=~s/_/ /g;
+       if (defined $params{desc}) {
+               $desc=$params{desc};
+       }
        if (defined $desc) {
                $desc=~s/\%s/$text/g;
        }
        if (defined $desc) {
                $desc=~s/\%s/$text/g;
        }