From ebb786b3edd4eb1c6ab8df0462603514ffbeccce Mon Sep 17 00:00:00 2001 From: kimpure Date: Thu, 21 May 2026 16:30:12 +0000 Subject: [PATCH] fix emoji convertion --- packages/utils/saferKorean.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/utils/saferKorean.ts b/packages/utils/saferKorean.ts index bc1c4e7..f88650d 100644 --- a/packages/utils/saferKorean.ts +++ b/packages/utils/saferKorean.ts @@ -210,9 +210,9 @@ export const UnicodeEmojis = { "🪞": "거울", "💄": "립스틱", } export const UnicodeEmojisRegex = new RegExp( - "[" + - Object.keys(UnicodeEmojis).join() - + "]", "g" + "(" + + Object.keys(UnicodeEmojis).join(")|(") + + ")", "g" ); export function processDots(input: string): string {