diff --git a/src/ts/util.ts b/src/ts/util.ts index 453ef253..c93d63f2 100644 --- a/src/ts/util.ts +++ b/src/ts/util.ts @@ -469,7 +469,7 @@ export function isLastCharPunctuation(s:string){ const lastChar = s.trim().at(-1) const punctuation = [ '.', '!', '?', '。', '!', '?', '…', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '_', '+', '=', '{', '}', '[', ']', '|', '\\', ':', ';', '<', '>', ',', '.', '/', '~', '`', ' ', - '¡', '¿', '‽', '⁉' + '¡', '¿', '‽', '⁉', "'", '"' ] if(lastChar && !(punctuation.indexOf(lastChar) !== -1 //spacing modifier letters