Skip to content

fix: add Slovak Ĺ/ĺ (L with acute) to the char map#212

Open
spokodev wants to merge 1 commit into
simov:masterfrom
spokodev:fix/slovak-l-acute
Open

fix: add Slovak Ĺ/ĺ (L with acute) to the char map#212
spokodev wants to merge 1 commit into
simov:masterfrom
spokodev:fix/slovak-l-acute

Conversation

@spokodev

@spokodev spokodev commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Ĺ (U+0139) and ĺ (U+013A) are part of the Slovak alphabet (e.g. stĺp, hĺbka) but are missing from the char map. Because the default remove regex relies on \w (ASCII-only), unmapped non-ASCII letters are stripped entirely:

slugify('stĺp')   // 'stp'   (expected 'stlp')
slugify('Ĺúbime') // 'ubime' (expected 'Lubime')

Slovak support was added in #42 (Ľ/ľ, Ŕ/ŕ) but the L-acute pair was overlooked (reported in #94). Add Ĺ→L, ĺ→l, matching the existing ľ→l, ł→l, ļ→l. Closes #94.

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.

Add Ĺ and ĺ replacing with L, l to charmap

1 participant