aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/rst.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/rst.pm')
-rw-r--r--IkiWiki/Plugin/rst.pm5
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) {