From: joey Date: Thu, 31 Aug 2006 19:47:41 +0000 (+0000) Subject: drop the loop number to 3, 10 seems a bit much.. X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/575cfa085cbe73346010001e94135ae35aece4e0?ds=sidebyside drop the loop number to 3, 10 seems a bit much.. --- 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}]]";