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/5750
Liang Dingbcbbb4305946
diff --git a/kernel/model/search.go b/kernel/model/search.goindex 4b30e2160d..f5ca2adccc 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -161,7 +161,7 @@ func FindReplace(keyword, replacement string, ids []string) (err error) {renameRootTitles[n.ID] = strings.ReplaceAll(title, keyword, replacement)renameRoots = append(renameRoots, n)}- case ast.NodeText, ast.NodeLinkText, ast.NodeLinkTitle, ast.NodeCodeSpanContent, ast.NodeCodeBlockCode, ast.NodeInlineMathContent, ast.NodeMathBlockContent:+ case ast.NodeText, ast.NodeLinkDest, ast.NodeLinkText, ast.NodeLinkTitle, ast.NodeCodeSpanContent, ast.NodeCodeBlockCode, ast.NodeInlineMathContent, ast.NodeMathBlockContent:if bytes.Contains(n.Tokens, []byte(keyword)) {n.Tokens = bytes.ReplaceAll(n.Tokens, []byte(keyword), []byte(replacement))}