🎨 查询嵌入块支持设置是否显示面包屑 https://github.com/siyuan-note/siyuan/issues/6184

This commit is contained in:
Liang Ding 2022-10-17 11:10:26 +08:00
parent 25432c6912
commit 0b57671d99
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 5 additions and 3 deletions

View file

@ -1041,7 +1041,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool) (re
var defMd string
stmt := n.ChildByType(ast.NodeBlockQueryEmbedScript).TokensStr()
stmt = html.UnescapeString(stmt)
embedBlocks := searchEmbedBlock(stmt, nil, 0)
embedBlocks := searchEmbedBlock(stmt, nil, 0, false)
if 1 > len(embedBlocks) {
return ast.WalkContinue
}