html5ever icon indicating copy to clipboard operation
html5ever copied to clipboard

Fix panic on wrongly closed elements

Open vporton opened this issue 4 years ago • 1 comments

html5ever (HTML in quirks mode specifically) was crashing on superfluous closing tags (I don't provide a test case, but that was a case).

This PR is a WIP (You may choose to accept this PR now or wait until it is tested or reviewed more.) that attempts to fix that bug. Need to add tests to ensure my code really fixed the bug.

This PR introduces new feature api_v2 to be used with new code. Enabling the feature makes the library incompatible with old code.

vporton avatar Jul 25 '21 09:07 vporton

:umbrella: The latest upstream changes (presumably #461) made this pull request unmergeable. Please resolve the merge conflicts.

bors-servo avatar Feb 23 '22 00:02 bors-servo