From 1546b48b979399eb33ce502a00b089263d7cee26 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jun 2008 00:58:46 -0400 Subject: 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. --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki.pm') 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 -- cgit v1.2.3