From 3473496a4397d89a885887d3e5f360f79b040059 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 5 Sep 2022 12:26:13 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=A0=87=E9=A2=98=E5=9D=97=E4=B8=8B?= =?UTF-8?q?=E6=96=B9=E5=9D=97=E5=8F=8D=E5=90=91=E9=93=BE=E6=8E=A5=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E9=97=AE=E9=A2=98=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/5822?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/backlink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/backlink.go b/kernel/model/backlink.go index 564c056bd..259cc9497 100644 --- a/kernel/model/backlink.go +++ b/kernel/model/backlink.go @@ -238,7 +238,7 @@ func BuildTreeBacklink(id, keyword, mentionKeyword string, beforeLen int) (boxID } paragraphParents := sql.GetBlocks(paragraphParentIDs) for _, p := range paragraphParents { - if "i" == p.Type { + if "i" == p.Type || "h" == p.Type { linkRefs = append(linkRefs, fromSQLBlock(p, keyword, beforeLen)) processedParagraphs.Add(p.ID) }