Skip to content

fix: preserve Unicode heading anchors - #5

Merged
suzunn merged 1 commit into
mainfrom
fix/preserve-unicode-heading-slugs
Jun 15, 2026
Merged

suzunn merged 1 commit into
mainfrom
fix/preserve-unicode-heading-slugs

Conversation

@suzunn

@suzunn suzunn commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

I fixed heading slug generation so accented and non-Latin letters remain intact instead of being transliterated. This keeps local anchor validation aligned with GitHub-style Unicode anchors such as #café-başlangıç.

Validation

  • I added unit coverage for accented Latin and Cyrillic headings.
  • I added an end-to-end audit test for a Unicode fragment link.
  • I ran npm run ci; syntax checks passed and all 15 tests passed.

@suzunn
suzunn merged commit fa35bfd into main Jun 15, 2026
3 checks passed
@suzunn
suzunn deleted the fix/preserve-unicode-heading-slugs branch June 15, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant