mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
emoji: filter nesting folder of custom emoji before adding emoji (#8903)
Co-authored-by: chrisli <chris.li@grapecity.com>
This commit is contained in:
parent
3f0a49dcae
commit
cf71d86263
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ func getEmojiConf(c *gin.Context) {
|
|||
if strings.HasPrefix(name, ".") {
|
||||
continue
|
||||
}
|
||||
if subCustomEmoji.IsDir() {
|
||||
continue
|
||||
}
|
||||
|
||||
addCustomEmoji(customEmoji.Name()+"/"+name, &items)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue