Browse Source

: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

Daniel 2 years ago
parent
commit
e6aa17249a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/sql/database.go

+ 1 - 1
kernel/sql/database.go

@@ -710,7 +710,7 @@ func buildBlockFromNode(n *ast.Node, tree *parse.Tree) (block *Block, attributes
 		markdown = treenode.ExportNodeStdMd(n, luteEngine)
 		markdown = treenode.ExportNodeStdMd(n, luteEngine)
 		content = treenode.NodeStaticContent(n, nil, true, indexAssetPath)
 		content = treenode.NodeStaticContent(n, nil, true, indexAssetPath)
 		fc := treenode.FirstLeafBlock(n)
 		fc := treenode.FirstLeafBlock(n)
-		fcontent = treenode.NodeStaticContent(fc, nil, false, false)
+		fcontent = treenode.NodeStaticContent(fc, nil, true, false)
 		parentID = n.Parent.ID
 		parentID = n.Parent.ID
 		// 将标题块作为父节点
 		// 将标题块作为父节点
 		if h := heading(n); nil != h {
 		if h := heading(n); nil != h {