mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00:00
fix: custom emojis
This commit is contained in:
parent
1ee0ec68c5
commit
c00354c833
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue