From 1e37640749134a92dee84a33fe80fa8658ed4701 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 5 Feb 2023 18:38:25 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=94=B9=E8=BF=9B=E5=9D=97=E5=BC=95?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=80=A7=E8=83=BD=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/7262?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/search.go b/kernel/model/search.go index e72c0f30d..3996ff09a 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -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() {