fix: custom emojis

zio/stable
patak 2023-07-06 21:33:01 +02:00
parent 1ee0ec68c5
commit c00354c833
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ export function recursiveTreeToText(input: Node): string {
return treeToText(input) return treeToText(input)
} }
const emojiIdNeedsWrappingRE = /^(\d|\w|-|_)$/ const emojiIdNeedsWrappingRE = /^(\d|\w|-|_)+$/
export function treeToText(input: Node): string { export function treeToText(input: Node): string {
let pre = '' let pre = ''