+ my $value=IkiWiki::preprocess($params{page}, $params{destpage},
+ $params{$param}, $scan);
+ if ($template->query(name => $param)) {
+ my $htmlvalue=IkiWiki::htmlize($params{page}, $params{destpage},
+ pagetype($pagesources{$params{page}}),
+ $value);
+ chomp $htmlvalue;
+ $template->param($param => $htmlvalue);
+ }
+ if ($template->query(name => "raw_$param")) {
+ chomp $value;
+ $template->param("raw_$param" => $value);
+ }