cheeriojs / cheeriojs/cheerio

.attr(name) should lowercase name property

Open
#581 3 comments 0 reactions 0 assignees View on GitHub
❌ Bug good first issue
Dominant language
TypeScript
Stars
30.5k
Forks
1.7k
Avg merge
5h
Merged PRs (30d)
71

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the .attr() entry point to the .attribs lookup. Confirm how attribute names are currently handled, then verify that lookups use a lowercased name and that existing attribute access behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.