]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Allow up to 8 levels of nested directives, rather than previous 3 in directive infini...
authorJoey Hess <joey@kitenet.net>
Sun, 23 Feb 2014 18:11:54 +0000 (14:11 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 23 Feb 2014 18:11:54 +0000 (14:11 -0400)
IkiWiki.pm
debian/changelog
doc/bugs/preprocessing_loop_control_too_tight.mdwn

index a254177f2d7a136a42c2c407111c7ef8576d6ab7..e5da04a3bb86d8aa47d96cac3df679623ad707ee 100644 (file)
@@ -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\">".
index a6ef93e11a097bec74991931d5991061022045a8..76178674f199c40fc72961c70473c06c1d34fe0a 100644 (file)
@@ -5,6 +5,8 @@ ikiwiki (3.20140126) UNRELEASED; urgency=medium
   * po: Add html_lang_code and html_lang_dir template variables
     for the language code and direction of text.
     Thanks, Mesar Hameed
+  * Allow up to 8 levels of nested directives, rather than previous 3
+    in directive infinite loop guard.
 
  -- Joey Hess <joeyh@debian.org>  Sat, 01 Feb 2014 16:53:35 -0400
 
index ba8534bd8623b853e122fd78beef11a916eec9b7..807d6b7ef4e50e13a75a4d144e99afd48823e78e 100644 (file)
@@ -19,3 +19,5 @@ index 75c9579..ad0f8b0 100644
 [[!tag patch]]
 
 > [[Seems reasonable|users/smcv/yesplease]] --smcv
+
+>> [[done]] --[[Joey]]