From 5af7d5d1552182aeeff145ce25a2afcc63fe207a Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Sat, 30 Dec 2023 21:29:08 +0100 Subject: [PATCH] fix: accept simple quotes in permalinks as even Windows accepts it --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8a80a12..df5680d 100644 --- a/src/index.js +++ b/src/index.js @@ -75,7 +75,7 @@ const dupeHandlers = { // These are the invalid path chars on Windows, on *nix systems all are valid except forward slash. // However, it is highly unlikely that anyone would want these to appear in a file path and they can still be overridden if necessary -const invalidPathChars = '[<>:"\'|?*]' +const invalidPathChars = '[<>:"|?*]' const defaultSlugifyRemoveChars = '[^\\w\\s$_+~.()!\\-@\\/]+' const emptyStr = '' const dash = '-'