From e0d1c264d9f21b02761f0bc86948ec0169927beb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 23 Feb 2014 14:11:54 -0400 Subject: Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki.pm') diff --git a/IkiWiki.pm b/IkiWiki.pm index a254177f2..e5da04a3b 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1508,7 +1508,7 @@ sub preprocess ($$$;$$) { push @params, $val, ''; } } - if ($preprocessing{$page}++ > 3) { + if ($preprocessing{$page}++ > 8) { # Avoid loops of preprocessed pages preprocessing # other pages that preprocess them, etc. return "[[!$command ". -- cgit v1.2.3