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

Make tag names case-insensitive in HTML mode #222

Merged

Conversation

chrishow
Copy link
Contributor

@chrishow chrishow commented Jan 4, 2024

Given that HTML tag names are case insensitive , a query for 'DIV', 'div' or 'DiV' should all match an element written any of these ways.

In my PR adding code to support case-insensitive matching on attribute names, I neglected to copy the code from my experimental branch to extend this to tag names.

This PR fixes that.

@g105b
Copy link
Member

g105b commented Jan 4, 2024

Just tested integrating this PR into PHP.Gt/Dom - no problems.

Thanks for your contribution.

@g105b g105b merged commit 5926eec into PhpGt:master Jan 4, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done January 2024
Development

Successfully merging this pull request may close these issues.

2 participants