From a113d8fa98478fb785ab3051d0cdc3a2cb59bb3c Mon Sep 17 00:00:00 2001 From: Jared Schoeny Date: Fri, 28 Nov 2025 20:32:24 -1000 Subject: [PATCH] Add more chars to be removed on slugify --- src/utils/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/format.ts b/src/utils/format.ts index 69c9da8..1508b9f 100644 --- a/src/utils/format.ts +++ b/src/utils/format.ts @@ -22,7 +22,7 @@ export function slugify(text: string) { return text .normalize("NFD") .replace(/[\u0300-\u036f]/g, "") // strip combining diacritics - .replace(/[.,!?'"\*\(\)]/g, "") // remove common punctuation + .replace(/[.,!?'"“”‘’\*\(\)]/g, "") // remove common punctuation .replace(/ß/g, "ss") .replace(/æ/g, "ae") .replace(/œ/g, "oe")