#3554·emdash

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

  1. Go to the CMS Admin panel and open any collection.
  2. Click to create a new item.
  3. Enter a title with diacritical marks (e.g., Začínáme s EmDash).
  4. Observe the automatically populated slug field.

Environment

  • EmDash Version: 1.0.1
  • Node.js version: 22
  • Runtime: Node

Screenshots

Image

Logs / error output

bash