diff options
Diffstat (limited to 'IkiWiki/Plugin/rst.pm')
-rw-r--r-- | IkiWiki/Plugin/rst.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/rst.pm b/IkiWiki/Plugin/rst.pm index 6bf11fe36..08ac15e43 100644 --- a/IkiWiki/Plugin/rst.pm +++ b/IkiWiki/Plugin/rst.pm @@ -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) { |