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: No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229 Fix https://github.com/siyuan-note/siyuan/issues/9229
Danielf98be60aa554
diff --git a/kernel/model/search.go b/kernel/model/search.goindex d04d090563..c8c29131e5 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -215,9 +215,7 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strinreturn}- keyword = strings.TrimSpace(keyword)- replacement = strings.TrimSpace(replacement)-+ // No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229if keyword == replacement {return}