You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: normalize anchor case at link generation time
Per @danielroe's feedback, move toLowerCase() from the client-side
click handler to server-side link generation in resolveUrl(). This
ensures consistent case between anchor hrefs and heading IDs at the
source, allowing native browser hash navigation to work correctly.
- Add .toLowerCase() in server/utils/readme.ts when generating anchor links
- Simplify client-side handler to just return for hash links
- Update tests to reflect the new behavior
Co-Authored-By: Claude (claude-opus-4-5) <noreply@anthropic.com>
0 commit comments