return "[[template ".gettext("failed to process:")." $@]]";
}
+ $params{basename}=IkiWiki::basename($params{page});
+
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}));
}