]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/rst.pm
* Patch from James Westby to add an actions option to inline; this
[ikiwiki.git] / IkiWiki / Plugin / rst.pm
index 6bf11fe36561c516d1bd10b6e58af34396157df5..08ac15e43fb419b05e2a5d718c266b44c7bb4a50 100644 (file)
@@ -39,8 +39,9 @@ sub import { #{{{
        IkiWiki::hook(type => "htmlize", id => "rst", call => \&htmlize);
 } # }}}
 
-sub htmlize ($) { #{{{
-       my $content=shift;
+sub htmlize (@) { #{{{
+       my %params=@_;
+       my $content=$params{content};
 
        my $tries=10;
        while (1) {