From 575cfa085cbe73346010001e94135ae35aece4e0 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 31 Aug 2006 19:47:41 +0000 Subject: [PATCH] drop the loop number to 3, 10 seems a bit much.. --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}]]"; -- 2.44.0