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 (1,626 forks)batch import
good first issue❌ Bug

Repository metrics

Stars
 (28,115 stars)
PR merge metrics
 (Avg merge 6h 41m) (30 merged PRs in 30d)

Description

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

Contributor guide