diff --git a/lib/createSlug.ts b/lib/createSlug.ts index ba39cb6..fb3861a 100644 --- a/lib/createSlug.ts +++ b/lib/createSlug.ts @@ -1,3 +1,3 @@ export function createSlug(title: string) { - return title.toLowerCase().replace(/[.\s]+/g, '-') + return title.toLowerCase().replace(/[.,\s]+/g, '-') } \ No newline at end of file