X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/d92142d09eaec9018c0cdc96f9ad3bd4a0c876a7..dae0f48e91304afcb6ebe0936360e51b22a56548:/IkiWiki/Plugin/htmltidy.pm diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm index c626250cb..906c677dc 100644 --- a/IkiWiki/Plugin/htmltidy.pm +++ b/IkiWiki/Plugin/htmltidy.pm @@ -13,7 +13,7 @@ use IkiWiki; use IPC::Open2; sub import { #{{{ - IkiWiki::hook(type => "sanitize", id => "tidy", call => \&sanitize); + hook(type => "sanitize", id => "tidy", call => \&sanitize); } # }}} sub sanitize (@) { #{{{ @@ -28,7 +28,7 @@ sub sanitize (@) { #{{{ last unless $@; $tries--; if ($tries < 1) { - IkiWiki::debug("failed to run tidy: $@"); + debug("failed to run tidy: $@"); return $params{content}; } }