When page has more than 101 tag it can't be rendered because of "Deep tag nesting or recursive nesting detected" will be raised.
For solve this problem we can decrement @depth counter after rendering of each tag.
In this case exception will be removed for pages with hundreds of tags, but we still able to catch stack overflow.
When page has more than 101 tag it can't be rendered because of "Deep tag nesting or recursive nesting detected" will be raised. For solve this problem we can decrement
@depth
counter after rendering of each tag. In this case exception will be removed for pages with hundreds of tags, but we still able to catch stack overflow.