fix: punctuation symbols rendered separately

This commit is contained in:
Hufe921
2024-03-28 22:39:19 +08:00
parent 1bb7a58f5e
commit d91b47cee5
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -10,3 +10,6 @@ export const UNICODE_SYMBOL_REG = new RegExp(
`${EMOJI_REG.source}|${SURROGATE_PAIR_REG.source}`,
'g'
)
export const PUNCTUATION_REG =
/[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/