bug: Auto-generated slug retains diacritical marks / accented characters
Author: palockoczCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbugarea/adminbot:bugbot:needs-attention
Description
When creating a new collection item and letting the editor auto-generate the slug field from the title, diacritical marks (e.g., Czech/Slovak characters like ě, š, č, ř, ž, ý, á, í, é) are retained instead of being normalized/transliterated into plain ASCII characters.
This results in encoded URLs (e.g., %C5%BE...) or broken links depending on the routing setup.
Expected Behavior:
The auto-generated slug should strip or transliterate diacritical characters into standard ASCII letters (e.g., zaciname-s-emdash).
Actual Behavior:
The slug retains accented characters (e.g., začínáme-s-emdash).
Steps to reproduce
- Go to the CMS Admin panel and open any collection.
- Click to create a new item.
- Enter a title with diacritical marks (e.g.,
Začínáme s EmDash). - Observe the automatically populated
slugfield.
Environment
- EmDash Version: 1.0.1
- Node.js version: 22
- Runtime: Node
Screenshots
Logs / error output
Source: emdash-cms/emdash