Skip to content

Commit

Permalink
fix: accept simple quotes in permalinks as even Windows accepts it
Browse files Browse the repository at this point in the history
  • Loading branch information
dpobel committed Dec 30, 2023
1 parent f9e77f3 commit 5af7d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '-'
Expand Down

0 comments on commit 5af7d5d

Please sign in to comment.