diff options
-rw-r--r-- | IkiWiki/Render.pm | 2 |
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}]]"; |