my $page=shift;
my $content=shift;
- run_hooks(postscan => sub {
+ run_hooks(indexhtml => sub {
shift->(page => $page, content => $content);
});
my ($f) = $file =~ /$config{wiki_file_regexp}/; # untaint
if (! defined $f) {
warn(sprintf(gettext("skipping bad filename %s"), $file)."\n");
+ return;
}
if ($underlay) {