Skip to content

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

:art: Improve missing line breaks when exporting RTF Fix https://github.com/siyuan-note/siyuan/issues/9325

Daniel29d155d0cd61
diff --git a/kernel/model/export.go b/kernel/model/export.go
index 6e6789835d..88d5e255c7 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -1116,7 +1116,7 @@ func ExportPandocConvertZip(id, pandocTo, ext string) (name, zipPath string) {
docPaths = append(docPaths, docFile.path)
}
- zipPath = exportPandocConvertZip(boxID, baseFolderName, docPaths, "gfm+footnotes", pandocTo, ext)
+ zipPath = exportPandocConvertZip(boxID, baseFolderName, docPaths, "gfm+footnotes+hard_line_breaks", pandocTo, ext)
name = strings.TrimSuffix(filepath.Base(block.Path), ".sy")
return
}