fix: custom emojis
parent
1ee0ec68c5
commit
c00354c833
|
@ -168,7 +168,7 @@ export function recursiveTreeToText(input: Node): string {
|
|||
return treeToText(input)
|
||||
}
|
||||
|
||||
const emojiIdNeedsWrappingRE = /^(\d|\w|-|_)$/
|
||||
const emojiIdNeedsWrappingRE = /^(\d|\w|-|_)+$/
|
||||
|
||||
export function treeToText(input: Node): string {
|
||||
let pre = ''
|
||||
|
|
Loading…
Reference in New Issue