diff --git a/src/utils/icon-id.ts b/src/utils/icon-id.ts index 81e149a4..d75f5777 100644 --- a/src/utils/icon-id.ts +++ b/src/utils/icon-id.ts @@ -4,5 +4,6 @@ import slug from 'slugify'; export const getIconId: GetIconIdFn = ({ relativeFilePath }) => slug(removeExtension(relativeFilePath).replace(/(\/|\\|\.)+/g, '-'), { - replacement: '-' + replacement: '-', + remove: /['"`]/g });