mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 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
This commit is contained in:
parent
e520e0aa18
commit
e6aa17249a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue