Skip to content

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

:art: Improve exporting data https://github.com/siyuan-note/siyuan/issues/13631

Daniel9d74599239f6
diff --git a/kernel/model/export.go b/kernel/model/export.go
index c0f963ae04..eae69c03f2 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -1457,7 +1457,6 @@ func ExportPandocConvertZip(ids []string, pandocTo, ext string) (name, zipPath s
docPaths = append(docPaths, docFile.path)
}
}
- docPaths = util.FilterSelfChildDocs(docPaths)
defBlockIDs, trees, docPaths := prepareExportTrees(docPaths)
zipPath = exportPandocConvertZip(baseFolderName, docPaths, defBlockIDs, "gfm+footnotes+hard_line_breaks", pandocTo, ext, trees)