cheeriojs/cheerio

.attr(name) should lowercase name property

Open

#581 opened on Oct 21, 2014

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (28,115 stars) (1,626 forks)batch import
good first issue❌ Bug

Description

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

Contributor guide