Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

: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

Daniele6aa17249af8
diff --git a/kernel/sql/database.go b/kernel/sql/database.go
index aa25948e45..ef74fb62b1 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 {