]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/template.pm
* Allow raw html in the rst plugin.
[ikiwiki.git] / IkiWiki / Plugin / template.pm
index 690443558e71788e616f13575008cdfbffc09c3d..c87ba51029434acca2d3dd94ffd9389cec8e1231 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::template;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
 use HTML::Template;
 use Encode;
 
 use HTML::Template;
 use Encode;
 
@@ -50,7 +50,7 @@ sub preprocess (@) { #{{{
        }
 
        return IkiWiki::preprocess($params{page}, $params{destpage},
        }
 
        return IkiWiki::preprocess($params{page}, $params{destpage},
-               IkiWiki::filter($params{page},
+               IkiWiki::filter($params{page}, $params{destpage},
                $template->output));
 } # }}}
 
                $template->output));
 } # }}}