Skip to content

fix(jruby): Node#attribute in HTML documents #3490

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

Fix Node#attribute in HTML documents and anything that depends on that, like NodeSet#attr.

Fixes #3487

Have you included adequate test coverage?

Yes

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

Fixes JRuby to behave like CRuby.

and anything that depends on that, like NodeSet#attr.

Fixes #3487
@flavorjones
Copy link
Member Author

I'd like to backport this to v1.18.x and cut a bugfix release.

@flavorjones flavorjones merged commit a7fbb56 into main Mar 24, 2025
146 checks passed
@flavorjones flavorjones deleted the flavorjones-3487-jruby-node-set-attr branch March 24, 2025 17:59
flavorjones added a commit that referenced this pull request Mar 24, 2025
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.

[bug] calling .attr on a NodeSet returns nil in 1.18
1 participant