tree-sitter / tree-sitter-html

HTML grammar for Tree-sitter
MIT License
136 stars 72 forks source link

Fix bugs found during fuzzing #3

Closed philipturnbull closed 6 years ago

philipturnbull commented 6 years ago

An alternative to #2, rebased against the current master.

/cc @rzhade3

philipturnbull commented 6 years ago

That didn't seem to help 😞 I haven't got time this week to dig into that failure, can you take a look @maxbrunsfeld?

maxbrunsfeld commented 6 years ago

Ok, it's hard to decide exactly what we should do in these types of edge cases (super deeply nested documents). I found a solution that works for the test cases I've been using; so I'm going to go with it for now.

maxbrunsfeld commented 6 years ago

Thanks so much for tracking this down @philipturnbull. Users were seeing this bug in Atom.