earwig / mwparserfromhell

A Python parser for MediaWiki wikicode
https://mwparserfromhell.readthedocs.io/
MIT License
741 stars 74 forks source link

Increase MAX_DEPTH to 100 #314

Closed davidebbo closed 8 months ago

davidebbo commented 8 months ago

This addresses #313

davidebbo commented 8 months ago

This is causing nested_templates_and_style_tags to fail, I assume because it's specifically trying to test the limit. This test would need to be increased accordingly, though I'm not confident that I can make that change correctly.

davidebbo commented 8 months ago

I modified the test with longer input that goes beyond 100 depth (goes to about 110).

davidebbo commented 8 months ago

Thanks for the fast release! I just installed 0.6.6, and all is well :)