mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
Replace str/slug with a targeted regex that only removes filesystem-unsafe characters when generating export filenames. The slug function strips all non-word characters including hyphens, causing names like "my-board" to become "myboard" on export. Fixes #8901 Signed-off-by: jamesrayammons <jamesrayammons@outlook.com> Co-authored-by: Andrey Antukh <niwi@niwi.nz>