]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Render.pm
add news item for ikiwiki 1.26
[git.ikiwiki.info.git] / IkiWiki / Render.pm
index ca6e9666bfb345c57c6da8e8757ea024eeee7018..2c1ea3eb7c0b73f507fb51c70499f01c10c51ccc 100644 (file)
@@ -131,7 +131,7 @@ sub preprocess ($$$) { #{{{
                                        push @params, $val, '';
                                }
                        }
                                        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}]]";
                                # Avoid loops of preprocessed pages preprocessing
                                # other pages that preprocess them, etc.
                                return "[[$command preprocessing loop detected on $page at depth $preprocessing{$page}]]";