comments: load inline and mdwn lazily

master
Simon McVittie 2008-11-18 10:43:39 +00:00
parent 9d92fd5eb0
commit 4663f364bb
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ sub import { #{{{
} # }}}
sub htmlize { # {{{
eval { use IkiWiki::Plugin::mdwn; };
eval q{use IkiWiki::Plugin::mdwn};
error($@) if ($@);
return IkiWiki::Plugin::mdwn::htmlize(@_)
} # }}}
@ -72,7 +72,7 @@ sub preprocess (@) { #{{{
my $posts = '';
unless (defined $params{inline} && !IkiWiki::yesno($params{inline})) {
eval { use IkiWiki::Plugin::inline; };
eval q{use IkiWiki::Plugin::inline};
error($@) if ($@);
my @args = (
pages => "internal($params{page}/_comment_*)",