Skip to content

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

:art: 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837

Liang Ding19176e5bc07a
diff --git a/kernel/model/export.go b/kernel/model/export.go
index f728560c9a..6745e2f36d 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -383,7 +383,7 @@ func ExportHTML(id, savePath string, pdf bool) (name, dom string) {
// }
//}
- name = path.Base(tree.Path)
+ name = path.Base(tree.HPath)
name = util.FilterFileName(name) // 导出 PDF、HTML 和 Word 时未移除不支持的文件名符号 https://github.com/siyuan-note/siyuan/issues/5614
if "" != savePath {