aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-31 19:47:41 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-31 19:47:41 +0000
commit575cfa085cbe73346010001e94135ae35aece4e0 (patch)
tree1bf337ef9f01a030d51a854b67653993a633c6a7
parent999559cbc945a4a9f9129af08327649734bab874 (diff)
downloadikiwiki-575cfa085cbe73346010001e94135ae35aece4e0.tar
ikiwiki-575cfa085cbe73346010001e94135ae35aece4e0.tar.gz
drop the loop number to 3, 10 seems a bit much..
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index ca6e9666b..2c1ea3eb7 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -131,7 +131,7 @@ sub preprocess ($$$) { #{{{
push @params, $val, '';
}
}
- if ($preprocessing{$page}++ > 10) {
+ if ($preprocessing{$page}++ > 3) {
# Avoid loops of preprocessed pages preprocessing
# other pages that preprocess them, etc.
return "[[$command preprocessing loop detected on $page at depth $preprocessing{$page}]]";