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 find-replace of text containing escape characters https://github.com/siyuan-note/siyuan/issues/14173
Danielf99025d468d2
diff --git a/kernel/model/search.go b/kernel/model/search.goindex eb261fd082..5afe09fcf8 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -588,7 +588,11 @@ func FindReplace(keyword, replacement string, replaceTypes map[string]bool, ids}if replaceTextNode(n, method, keyword, replacement, r, luteEngine) {- unlinks = append(unlinks, n)+ if nil != n.Parent && ast.NodeBackslash == n.Parent.Type {+ unlinks = append(unlinks, n.Parent)+ } else {+ unlinks = append(unlinks, n)+ }}case ast.NodeLinkDest:if !replaceTypes["imgSrc"] {