fix: convert anchor links in readme content to lowercase#1296
fix: convert anchor links in readme content to lowercase#1296danielroe merged 1 commit intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughThis pull request modifies the readme utility to improve hash link functionality. The change transforms the href attribute of anchor tags to lowercase when the href starts with a hash symbol. This addresses an issue where README hash links do not navigate to their corresponding sections. The modification is minimal, affecting only the link rendering logic whilst preserving all other attributes and link behaviour. Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
there may be some other things in #1013 we can pull in too |
This fixes #1008 for now, but later we should consider preserving text casing for anchor links for better compatibility.
Examples