The Wayback Machine - https://web.archive.org/web/20220401012644/https://github.com/cheeriojs/cheerio/issues/581
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

.attr(name) should lowercase name property #581

Open
psayre23 opened this issue Oct 21, 2014 · 1 comment
Open

.attr(name) should lowercase name property #581

psayre23 opened this issue Oct 21, 2014 · 1 comment

Comments

@psayre23
Copy link

@psayre23 psayre23 commented Oct 21, 2014

When looking up an attribute with .attr(), the name of the attribute should be lowercased before looking up in .attribs object.

@hjr265
Copy link

@hjr265 hjr265 commented Nov 20, 2014

Also true for .data(name)..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants