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: 搜索替换支持块引锚文本 Fix https://github.com/siyuan-note/siyuan/issues/5903
Liang Ding46ce0f75994b
diff --git a/kernel/model/search.go b/kernel/model/search.goindex cd1ef05d21..763fef64de 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -175,6 +175,12 @@ func FindReplace(keyword, replacement string, ids []string) (err error) {if strings.Contains(n.TextMarkInlineMemoContent, keyword) {n.TextMarkInlineMemoContent = strings.ReplaceAll(n.TextMarkInlineMemoContent, keyword, replacement)}+ if strings.Contains(n.TextMarkATitle, keyword) {+ n.TextMarkATitle = strings.ReplaceAll(n.TextMarkATitle, keyword, replacement)+ }+ if strings.Contains(n.TextMarkAHref, keyword) {+ n.TextMarkAHref = strings.ReplaceAll(n.TextMarkAHref, keyword, replacement)+ }}return ast.WalkContinue})