aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-23 14:11:54 -0400
committerJoey Hess <joey@kitenet.net>2014-02-23 14:11:54 -0400
commite0d1c264d9f21b02761f0bc86948ec0169927beb (patch)
tree9d159896ace1a2257c9b789714c3f2ee65240175 /IkiWiki.pm
parent5560afc08543ee0b2c51d075197f6b7d6e91672a (diff)
downloadikiwiki-e0d1c264d9f21b02761f0bc86948ec0169927beb.tar
ikiwiki-e0d1c264d9f21b02761f0bc86948ec0169927beb.tar.gz
Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
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 <span class=\"error\">".