aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/utils/exporter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts
index 50a333af..40d0f257 100644
--- a/src/utils/exporter.ts
+++ b/src/utils/exporter.ts
@@ -106,5 +106,5 @@ export function exportTimesAsHashParam(segments: SponsorTime[]): string {
export function normalizeChapterName(description: string): string {
- return description.toLowerCase().replace(/[.:-'’`‛‘"‟”]/g, "").replace(/\s+/g, " ");
+ return description.toLowerCase().replace(/[.:'’`‛‘"‟”-]/ug, "").replace(/\s+/g, " ");
} \ No newline at end of file