X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4895955ceaf264c5f17b10c4009e1ab1afcc55ee..6e273d60a604ffa44547f9672ef54ea5c4269a91:/IkiWiki/Render.pm 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}]]";