An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve `Convert network images to local images` for links starting with `file//` Fix https://github.com/siyuan-note/siyuan/issues/8567
Daniel78ff4a09639b
diff --git a/kernel/model/assets.go b/kernel/model/assets.goindex 92cc693c65..a6920be2b1 100644--- a/kernel/model/assets.go+++ b/kernel/model/assets.go@@ -103,7 +103,7 @@ func NetImg2LocalAssets(rootID, originalURL string) (err error) {// `网络图片转换为本地图片` 支持处理 `file://` 本地路径图片 https://github.com/siyuan-note/siyuan/issues/6546u := string(dest)[7:]- if !gulu.File.IsExist(u) {+ if !gulu.File.IsExist(u) || gulu.File.IsDir(u) {return ast.WalkSkipChildren}