From e6aa17249af8af0a20f17d1c6523b23829ca372b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 3 Jul 2023 10:50:13 +0800 Subject: [PATCH] :art: Improve the backlink display when the first sub-block under the list item block contains hyperlinks Fix https://github.com/siyuan-note/siyuan/issues/8661 --- kernel/sql/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sql/database.go b/kernel/sql/database.go index aa25948e4..ef74fb62b 100644 --- a/kernel/sql/database.go +++ b/kernel/sql/database.go @@ -710,7 +710,7 @@ func buildBlockFromNode(n *ast.Node, tree *parse.Tree) (block *Block, attributes markdown = treenode.ExportNodeStdMd(n, luteEngine) content = treenode.NodeStaticContent(n, nil, true, indexAssetPath) fc := treenode.FirstLeafBlock(n) - fcontent = treenode.NodeStaticContent(fc, nil, false, false) + fcontent = treenode.NodeStaticContent(fc, nil, true, false) parentID = n.Parent.ID // 将标题块作为父节点 if h := heading(n); nil != h {