This commit is contained in:
Liang Ding 2023-02-05 18:38:25 +08:00
parent e1ddf2ab71
commit 1e37640749
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -165,7 +165,7 @@ func SearchRefBlock(id, rootID, keyword string, beforeLen int) (ret []*Block, ne
continue
}
cachedTrees[b.RootID] = tree
b.RefText = getBlockRefText(id, tree)
b.RefText = getBlockRefText(b.ID, tree)
hitFirstChildID := false
if b.IsContainerBlock() {