]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
comments: don't rely on mdwn getting loaded first
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Tue, 18 Nov 2008 10:43:11 +0000 (10:43 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 11 Dec 2008 21:14:03 +0000 (21:14 +0000)
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");
 } # }}}