Deduplicate different quotes when comparing chapter names

This commit is contained in:
Ajay 2023-11-08 18:19:28 -05:00
parent 133ea360d7
commit 72c62d0fa4

View file

@ -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(/[.:-'`"‟”]/g, "").replace(/\s+/g, " ");
}