An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 搜索不到超链接元素的 URL 和标题 Fix https://github.com/siyuan-note/siyuan/issues/7352
Liang Ding0d0cea11c987
diff --git a/kernel/treenode/node.go b/kernel/treenode/node.goindex 763e847ab8..d94b5eda8f 100644--- a/kernel/treenode/node.go+++ b/kernel/treenode/node.go@@ -225,6 +225,13 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string) string {if n.IsTextMarkType("tag") {buf.WriteByte('#')}+ if n.IsTextMarkType("a") {+ // 搜索不到超链接元素的 URL 和标题 https://github.com/siyuan-note/siyuan/issues/7352+ if "" != n.TextMarkATitle {+ buf.WriteString(" " + n.TextMarkATitle)+ }+ buf.WriteString(" " + n.TextMarkAHref)+ }case ast.NodeBackslash:buf.WriteByte(lex.ItemBackslash)case ast.NodeBackslashContent: