normalize input in saferKorean
This commit is contained in:
parent
079c621fe6
commit
cfac4f115c
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ export function processDots(input: string): string {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function saferKorean(input: string): string {
|
export function saferKorean(input: string): string {
|
||||||
return processDots(input + " ")
|
return processDots(input.normalize() + " ")
|
||||||
// Process isolated symbols
|
// Process isolated symbols
|
||||||
.replace(/^[\?\!\'\"]+ $/, (total)=>(
|
.replace(/^[\?\!\'\"]+ $/, (total)=>(
|
||||||
[...total].map(element => IsolatedSymbolMap[
|
[...total].map(element => IsolatedSymbolMap[
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue