diff --git a/kernel/model/block.go b/kernel/model/block.go index 0b6885780..2fcd8d856 100644 --- a/kernel/model/block.go +++ b/kernel/model/block.go @@ -655,6 +655,7 @@ func GetHeadingLevelTransaction(id string, level int) (transaction *Transaction, ccH := c.ChildrenByType(ast.NodeHeading) childrenHeadings = append(childrenHeadings, ccH...) } + fillBlockRefCount(childrenHeadings) transaction = &Transaction{} luteEngine := util.NewLute()