mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00: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:
@@ -128,6 +128,9 @@ func getEmojiConf(c *gin.Context) {
|
||||
if strings.HasPrefix(name, ".") {
|
||||
continue
|
||||
}
|
||||
if subCustomEmoji.IsDir() {
|
||||
continue
|
||||
}
|
||||
|
||||
addCustomEmoji(customEmoji.Name()+"/"+name, &items)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user