X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ba1765fbdfeb0fd1fdf1354c1688580ef7864b68..4de235a385bf569e95d3902c7a1f688b5fbf0d44:/IkiWiki/Plugin/inline.pm?ds=inline diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index e23f7b903..08e1f2769 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -155,6 +155,7 @@ sub preprocess_inline (@) { #{{{ $ret.=$linktemplate->output; } + require HTML::Template; my @params=IkiWiki::template_params($params{template}.".tmpl", blind_cache => 1); if (! @params) { return sprintf(gettext("nonexistant template %s"), $params{template}); @@ -302,9 +303,9 @@ sub absolute_urls ($$) { #{{{ my $url=$baseurl; $url=~s/[^\/]+$//; - $content=~s/(