add ㄷㄷ replace to 덜덜
This commit is contained in:
parent
b7a79e82ee
commit
ec9e1da19d
1 changed files with 1 additions and 0 deletions
|
|
@ -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 "고고";
|
||||
|
|
|
|||
Loading…
Reference in a new issue