add ㄱㄱㄱ replace 고고고

This commit is contained in:
kimpure 2026-05-21 13:40:21 +00:00
parent 9725d8de29
commit 4a6eea1900
No known key found for this signature in database

View file

@ -153,6 +153,8 @@ export function saferKorean(input: string): string {
.replace(/ㄱ+/g, (content: string) => {
if (content.length == 2) {
return "고고";
} else if (content.length == 3) {
return "고고고";
}
return content;
})