fix emoji convertion

This commit is contained in:
kimpure 2026-05-21 16:30:12 +00:00
parent 01c5124e37
commit ebb786b3ed
No known key found for this signature in database

View file

@ -210,9 +210,9 @@ export const UnicodeEmojis = {
"🪞": "거울", "💄": "립스틱", "🪞": "거울", "💄": "립스틱",
} }
export const UnicodeEmojisRegex = new RegExp( export const UnicodeEmojisRegex = new RegExp(
"[" + "(" +
Object.keys(UnicodeEmojis).join() Object.keys(UnicodeEmojis).join(")|(")
+ "]", "g" + ")", "g"
); );
export function processDots(input: string): string { export function processDots(input: string): string {