Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HtmlParser: Prevent infinite loop when tag is not closed #61

Merged
merged 1 commit into from
Sep 1, 2019

Conversation

tindzk
Copy link
Member

@tindzk tindzk commented Aug 29, 2019

When an unclosed tag is followed by a text node, the offset needs to
be advanced. Otherwise, this leads to an infinite loop.

@tindzk tindzk force-pushed the bug/parse-trailing-text branch 2 times, most recently from eb0c0c7 to af6c1df Compare September 1, 2019 09:51
When an unclosed tag is followed by a text node, the offset needs to
be advanced. Otherwise, this leads to an infinite loop.
@tindzk tindzk merged commit 29f4888 into master Sep 1, 2019
@tindzk tindzk deleted the bug/parse-trailing-text branch September 1, 2019 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant