Closed jadelily18 closed 1 year ago
Apostrophes are allowed in slugs, though
Apostrophes are allowed in slugs, though
but... https://discord.com/channels/734077874708938864/783153806531100673/1047291343011070046
(I'm very confused rn)
Yeah
this says a-zA-Z0-9!@$()`.+,_
with `
being a grave/backtick not an apostrophe.
(and I see that you outdated the comment, but wanted to explain for others reading)
To broaden the issue's title: Knossos doesn't replace invalid characters when copying from the name field to the url field
(It only lowercases and replaces spaces with dashes.)
oops I copied the regex from online, it should not allow apostrophe
Unless there's a regex I missed, none contains an apostrophe in it?
Describe the bug
When creating a new project, the apostrophe from the name input is kept in the URL's input. For example, the name of
Jade's Mod
would be changed tojade's-mod
. (Don't mind the pink user style :D)Steps to reproduce
Expected behavior
The apostrophe should be removed from the URL slug by default.
Additional context
No response