add ㄷㄷ replace to 덜덜

This commit is contained in:
kimpure 2026-05-21 13:58:46 +00:00
parent b7a79e82ee
commit ec9e1da19d
No known key found for this signature in database

View file

@ -155,6 +155,7 @@ export function saferKorean(input: string): string {
.replace(/[아ㅏ]{3,}/g, "아아아")
.replace(/https\S+/g, "링크")
.replace(/ㅌ{2,}/g, "틔틔")
.replace(/ㄷ{2,}/g, "덜덜")
.replace(/ㄱ+/g, (content: string) => {
if (content.length == 2) {
return "고고";