normalize input in saferKorean

This commit is contained in:
kimpure 2026-05-21 16:04:58 +00:00
parent 079c621fe6
commit cfac4f115c
No known key found for this signature in database

View file

@ -182,7 +182,7 @@ export function processDots(input: string): string {
}
export function saferKorean(input: string): string {
return processDots(input + " ")
return processDots(input.normalize() + " ")
// Process isolated symbols
.replace(/^[\?\!\'\"]+ $/, (total)=>(
[...total].map(element => IsolatedSymbolMap[