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

test: update tests to reflect new libxml2 HTML5 parsing behaviors #3308

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

@nwellnhof has done some work in libxml2 to move towards HTML5 parsing behaviors. This branch is intended to update Nokogiri's expectations (primarily tests) as a feedback loop for both projects.

See https://gitlab.gnome.org/GNOME/libxml2/-/issues/758#note_2217350

Have you included adequate test coverage?

Yes.

Does this change affect the behavior of either the C or the Java implementations?

Not so far.

@flavorjones
Copy link
Member Author

and fix some libxml2 HTML5-related changes, specifically around errors
that are no longer generated.
- starting to deprecate HTML element description data
- working around changed error generation
- updated CRLF test
@flavorjones flavorjones merged commit af81faf into main Oct 8, 2024
132 checks passed
@flavorjones flavorjones deleted the flavorjones-libxml2-html5 branch October 8, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant