From d07126f10e34894a39ea1340fd64bd2f2703beae Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 12 Feb 2022 14:11:26 +0100 Subject: [PATCH] moved ignore down --- frontend/src/js/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/js/misc.ts b/frontend/src/js/misc.ts index bd7f15827..176c41cbd 100644 --- a/frontend/src/js/misc.ts +++ b/frontend/src/js/misc.ts @@ -733,9 +733,9 @@ export function cleanTypographySymbols(textToClean: string): string { " ": " ", " ": " ", }; - // @ts-ignore return textToClean.replace( /[“”’‘—,…«»–\u2007\u202F\u00A0]/g, + // @ts-ignore (char) => specials[char] || "" ); }