]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/template.pm
* Only try postsignin if no other action matched. Fixes a bug where the
[git.ikiwiki.info.git] / IkiWiki / Plugin / template.pm
index b169f7e75f23c1528c44ecbad00eb661d3df4d73..27e475ae5339971027fd821f9ef2a9c36f7ec3fa 100644 (file)
@@ -49,9 +49,10 @@ sub preprocess (@) { #{{{
                $template->param($param => $params{$param});
        }
 
                $template->param($param => $params{$param});
        }
 
-       return IkiWiki::preprocess($params{page}, $params{destpage},
-               IkiWiki::filter($params{page},
-               $template->output));
+       return IkiWiki::htmlize($params{page}, pagetype($pagesources{$params{page}}),
+               IkiWiki::preprocess($params{page}, $params{destpage},
+               IkiWiki::filter($params{page}, $params{destpage},
+               $template->output)));
 } # }}}
 
 1
 } # }}}
 
 1