We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7769f4a commit e8dda27Copy full SHA for e8dda27
apps/masterbots.ai/lib/url.ts
@@ -11,7 +11,7 @@ export const toSlug = (username: string, separator = "_"): string => {
11
.toLowerCase()
12
.replace(/&/g, '_')
13
.replace(/ & /g, '_')
14
- .replace(/[^a-z0-9_]/g, separator)
+ .replace(/[^a-z0-9_+-]/g, separator)
15
}
16
17
// Function to simulate converting a slug back to a username
0 commit comments