drop the loop number to 3, 10 seems a bit much..
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 31 Aug 2006 19:47:41 +0000 (19:47 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 31 Aug 2006 19:47:41 +0000 (19:47 +0000)
IkiWiki/Render.pm

index ca6e9666bfb345c57c6da8e8757ea024eeee7018..2c1ea3eb7c0b73f507fb51c70499f01c10c51ccc 100644 (file)
@@ -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}]]";