From 0440713fbf9c1d8260dce9a64e7c1d8dc7959e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BOUCHEX=20BELLOMI=C3=89?= Date: Sun, 11 Apr 2021 12:12:41 +0200 Subject: [PATCH] Fixed quote escaping --- src/utils/icon-id.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/icon-id.ts b/src/utils/icon-id.ts index f551a67d..cf876c5e 100644 --- a/src/utils/icon-id.ts +++ b/src/utils/icon-id.ts @@ -5,7 +5,7 @@ import { removeExtension } from './path'; export const getIconId = (filepath: string, root: string) => slug( removeExtension(relative(resolve(root), resolve(filepath))).replace( - /(\/|\\|\.)+/g, + /(\/|\\|\.|\')+/g, '-' ), { replacement: '-' }