Figma export filenames are not sanitized


We came up with a strange bug while exporting from Figma, as an example the icon in the image below

Name seems perfectly fine recipe_sql️_circle_fill
yet when exporting we had issues with the browser not finding the icon.

It’s due to invisible characters in the name of the icon in Figma - I don’t know how it got there, probably a copy-paste.
These characters are passed on to the export.

Example on this neat website to detect Unicode troublemakers
Pasting the name from Figma, as you can see the invisible character is passed on the filename.

Could you please sanitize the output filenames of your exports to avoid those shenanigans? Nobody wants invisible characters in their SVGs :slight_smile:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.