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.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/rst.pm b/IkiWiki/Plugin/rst.pm
index 789a70ac7..1fd13d1f5 100644
--- a/IkiWiki/Plugin/rst.pm
+++ b/IkiWiki/Plugin/rst.pm
@@ -36,7 +36,7 @@ print html[html.find('<body>')+6:html.find('</body>')].strip();
";
sub import { #{{{
- IkiWiki::hook(type => "htmlize", id => "rst", call => \&htmlize);
+ hook(type => "htmlize", id => "rst", call => \&htmlize);
} # }}}
sub htmlize (@) { #{{{
@@ -54,7 +54,7 @@ sub htmlize (@) { #{{{
last unless $@;
$tries--;
if ($tries < 1) {
- IkiWiki::debug("failed to run python to convert rst: $@");
+ debug("failed to run python to convert rst: $@");
return $content;
}
}