aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 00:58:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 00:58:46 -0400
commit1546b48b979399eb33ce502a00b089263d7cee26 (patch)
tree908a47d8b2e3031deef16d6c8539c02d22cd0f3e /IkiWiki.pm
parent46f7dcb362da5d043c758453384a447f0360462c (diff)
downloadikiwiki-1546b48b979399eb33ce502a00b089263d7cee26.tar
ikiwiki-1546b48b979399eb33ce502a00b089263d7cee26.tar.gz
move indexing to sanitize hook
I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8af0d7889..3f92bda06 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -692,7 +692,7 @@ sub linkify ($$$) { #{{{
return $content;
} #}}}
-my %preprocessing;
+our %preprocessing;
our $preprocess_preview=0;
sub preprocess ($$$;$$) { #{{{
my $page=shift; # the page the data comes from