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: 行级元素支持嵌套和交叉 https://github.com/siyuan-note/siyuan/issues/2911
Liang Ding578b964463a9
diff --git a/kernel/model/search.go b/kernel/model/search.goindex f5ca2adccc..a879b7026c 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -165,6 +165,10 @@ func FindReplace(keyword, replacement string, ids []string) (err error) {if bytes.Contains(n.Tokens, []byte(keyword)) {n.Tokens = bytes.ReplaceAll(n.Tokens, []byte(keyword), []byte(replacement))}+ case ast.NodeTextMark:+ if strings.Contains(n.TextMarkTextContent, keyword) {+ n.TextMarkTextContent = strings.ReplaceAll(n.TextMarkTextContent, keyword, replacement)+ }}return ast.WalkContinue})