]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/template.pm
toggle: Add javascript to top of page, not to end. This avoids flicker since closed...
[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 =>
-                               IkiWiki::htmlize($params{page},
+                               IkiWiki::htmlize($params{page}, $params{destpage},
                                        pagetype($pagesources{$params{page}}),
                                        $params{$param}));
                }