Added max_tag_depth parser option to limit the amount of tag nesting that will be rendered. Current behavior is than an arbitrary number of nested tags will be accepted, however at some point formatting will run over the max tag depth and throw.
Set the default to 0, meaning unlimited tag depth, in the interest of not breaking anything downstream. However at some point it may make sense to set this to a reasonable value so that recursion depth is limited by default.
Added
max_tag_depth
parser option to limit the amount of tag nesting that will be rendered. Current behavior is than an arbitrary number of nested tags will be accepted, however at some point formatting will run over the max tag depth and throw.Set the default to 0, meaning unlimited tag depth, in the interest of not breaking anything downstream. However at some point it may make sense to set this to a reasonable value so that recursion depth is limited by default.