🎨 标题后直接跟图片时图片的提示文本不再渲染到大纲中 Fix https://github.com/siyuan-note/siyuan/issues/6278

This commit is contained in:
Liang Ding 2022-10-20 23:34:16 +08:00
parent c285845e07
commit 9e81158fe4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -61,6 +61,8 @@ func renderOutline(node *ast.Node, luteEngine *lute.Lute) (ret string) {
dom := lute.RenderNodeBlockDOM(n, luteEngine.ParseOptions, luteEngine.RenderOptions)
buf.WriteString(dom)
return ast.WalkSkipChildren
case ast.NodeImage:
return ast.WalkSkipChildren
}
return ast.WalkContinue
})