🐛 超级块下方块面包屑计算不正确 Fix https://github.com/siyuan-note/siyuan/issues/6675

This commit is contained in:
Liang Ding 2022-11-21 22:45:18 +08:00
parent ba6f0e2067
commit bf74b66c0c
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -278,7 +278,7 @@ func buildBlockBreadcrumb(node *ast.Node) (ret []*BlockPath) {
for prev := parent.Previous; nil != prev; prev = prev.Previous {
b := prev
if ast.NodeSuperBlock == prev.Type {
// 超级块下方块面包屑计算不正确 https://github.com/siyuan-note/siyuan/issues/6675
// 超级块中包含标题块时下方块面包屑计算不正确 https://github.com/siyuan-note/siyuan/issues/6675
b = treenode.SuperBlockLastHeading(prev)
}