Skip to content

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

:art: Improve av https://github.com/siyuan-note/siyuan/issues/15522

Danielffafbae97908
diff --git a/kernel/model/export.go b/kernel/model/export.go
index edd4d7a922..f736484da9 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -3394,7 +3394,7 @@ func exportRefTrees(tree *parse.Tree, defBlockIDs *[]string, retTrees, treeCache
continue
}
- defBlock := treenode.GetBlockTree(val.BlockID)
+ defBlock := treenode.GetBlockTree(val.Block.ID)
if nil == defBlock {
continue
}