From 6d71788e1979c395a8905fdc5fbff40de72b2201 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 25 Feb 2023 16:27:01 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=B9=E8=BF=9B=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E4=B8=8B=E6=96=B9=E5=9D=97=E5=BC=95=E7=94=A8=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E5=8F=8D=E9=93=BE=E5=AE=9A=E4=BD=8D=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/7484?= 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 f0eee898f..15f2cfd65 100644 --- a/kernel/model/backlink.go +++ b/kernel/model/backlink.go @@ -514,7 +514,7 @@ func buildLinkRefs(defRootID string, refs []*sql.Ref, keyword string) (ret []*Bl } paragraphParents := sql.GetBlocks(paragraphParentIDs) for _, p := range paragraphParents { - if "i" == p.Type || "h" == p.Type { + if "i" == p.Type { // || "h" == p.Type 改进标题下方块引用时的反链定位 https://github.com/siyuan-note/siyuan/issues/7484 processedParagraphs.Add(p.ID) if !strings.Contains(p.Content, keyword) {