]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/template.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / IkiWiki / Plugin / template.pm
index 416762fe1fc8153205b8dd7bec7f06090a9e22ed..a6e34fcc9935546fca9cf0bbf136abee3887af42 100644 (file)
@@ -48,7 +48,7 @@ sub preprocess (@) { #{{{
        foreach my $param (keys %params) {
                if ($template->query(name => $param)) {
                        $template->param($param =>
        foreach my $param (keys %params) {
                if ($template->query(name => $param)) {
                        $template->param($param =>
-                               IkiWiki::htmlize($params{page},
+                               IkiWiki::htmlize($params{page}, $params{destpage},
                                        pagetype($pagesources{$params{page}}),
                                        $params{$param}));
                }
                                        pagetype($pagesources{$params{page}}),
                                        $params{$param}));
                }