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

tests: handle libxml 2.10.0 incorrectly-opened comment parsing #143

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Aug 17, 2022

libxml 2.10.0 just dropped, and it contains a change to how incorrectly-opened HTML comments are parsed. This PR updates the tests to handle this behavior, which returns to the libxml 2.9.13-and-earlier behavior for comments starting with <!.

Related, see:

There was also a related issue opened on this repository:

Note that this behavior will be the default in a future Nokogiri release. This PR makes the tests compatible with all the known libxml2 behaviors.

@flavorjones flavorjones merged commit bce0d93 into master Aug 18, 2022
@flavorjones flavorjones deleted the flavorjones-tests-handle-libxml-2.9.10 branch August 18, 2022 21:06
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.

None yet

2 participants