mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 17:16:40 +08:00
impr(custom text): add another quote-like symbol to remove fancy typography
This commit is contained in:
parent
c73c417519
commit
44fbf62282
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ export function cleanTypographySymbols(textToClean: string): string {
|
|||
" ": " ",
|
||||
" ": " ",
|
||||
" ": " ",
|
||||
"᾽": "'",
|
||||
};
|
||||
return textToClean.replace(
|
||||
/[“”’‘—,…«»–\u2007\u202F\u00A0]/g,
|
||||
|
|
Loading…
Add table
Reference in a new issue