Closed edwinvdgraaf closed 8 years ago
While the prevent_recursion! is in general very usefull. Recursive templates can be usefull for example with building menu that are made up with nested lists. This changes supports up to 10 level deep nesting.
prevent_recursion!
@flurin Mind having a look once you have time on your hands? See also my comment. :)
Can you add a testcase for the breakage after 10 levels of recursion?
Updated it.
While the
prevent_recursion!
is in general very usefull. Recursive templates can be usefull for example with building menu that are made up with nested lists. This changes supports up to 10 level deep nesting.