]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/comments.pm
comments: don't rely on mdwn getting loaded first
[git.ikiwiki.info.git] / IkiWiki / Plugin / comments.pm
index c545a1335d39d385692f9d38e8abc7dd4dbc5bfc..29dc06f32c8907f37a178ef6710c7ca5f54a05fe 100644 (file)
@@ -17,8 +17,7 @@ sub import { #{{{
        hook(type => "getsetup", id => 'comments',  call => \&getsetup);
        hook(type => "preprocess", id => 'comments', call => \&preprocess);
        hook(type => "sessioncgi", id => 'comment', call => \&sessioncgi);
-       hook(type => "htmlize", id => "_comment",
-               call => \&IkiWiki::Plugin::mdwn::htmlize);
+       hook(type => "htmlize", id => "_comment", call => \&htmlize);
        IkiWiki::loadplugin("inline");
        IkiWiki::loadplugin("mdwn");
 } # }}}