We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87f8157 + 5b05938 commit 6595000Copy full SHA for 6595000
src/utils/icon-id.ts
@@ -4,5 +4,6 @@ import slug from 'slugify';
4
5
export const getIconId: GetIconIdFn = ({ relativeFilePath }) =>
6
slug(removeExtension(relativeFilePath).replace(/(\/|\\|\.)+/g, '-'), {
7
- replacement: '-'
+ replacement: '-',
8
+ remove: /['"`]/g
9
});
0 commit comments