Explorar o código

: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 %!s(int64=2) %!d(string=hai) anos
pai
achega
e6aa17249a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 		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 {