impr(custom text): add another quote-like symbol to remove fancy typography

This commit is contained in:
Miodec 2025-01-02 15:01:50 +01:00
parent c73c417519
commit 44fbf62282

View file

@ -143,6 +143,7 @@ export function cleanTypographySymbols(textToClean: string): string {
"": " ",
"": " ",
" ": " ",
"": "'",
};
return textToClean.replace(
/[“”’‘—,…«»–\u2007\u202F\u00A0]/g,