X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cade16fbb6df5b1374f28a393ef9bf2b715c143b..bd4cd357a13ae205294217024dbb74e1d74534fd:/IkiWiki/Plugin/mdwn.pm?ds=inline diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index 8e037f5de..2274fea72 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -11,8 +11,9 @@ sub import { #{{{ } # }}} my $markdown_loaded=0; -sub htmlize ($) { #{{{ - my $content = shift; +sub htmlize (@) { #{{{ + my %params=@_; + my $content = $params{content}; if (! $markdown_loaded) { # Note: This hack to make markdown run as a proper perl