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: fix https://github.com/siyuan-note/siyuan/issues/5115
Vanessacb55535ef630
diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.tsindex c630f69eb5..b547d11968 100644--- a/app/src/util/Tree.ts+++ b/app/src/util/Tree.ts@@ -76,7 +76,7 @@ ${item.label ? "data-label='" + item.label + "'" : ""}><svg data-id="${encodeURIComponent(item.name + item.depth)}" class="b3-list-item__arrow ${((item.children && item.children.length > 0) || (item.blocks && item.blocks.length > 0)) ? "b3-list-item__arrow--open" : "fn__hidden"}"><use xlink:href="#iconRight"></use></svg></span>${iconHTML}- <span class="b3-list-item__text"${item.type === "outline" ? ' title="' + item.name + '"' : ""}>${item.name}</span>+ <span class="b3-list-item__text"${item.type === "outline" ? ' title="' + Lute.EscapeHTMLStr(item.name) + '"' : ""}>${item.name}</span>${countHTML}</li>`;if (item.children && item.children.length > 0) {@@ -121,7 +121,7 @@ data-def-path="${item.defPath}"><svg data-id="${item.id}" class="b3-list-item__arrow${item.children ? "" : " fn__hidden"}"><use xlink:href="#iconRight"></use></svg></span>${iconHTML}- <span class="b3-list-item__text" ${type === "outline" ? ' title="' + item.content + '"' : ""}>${item.content}</span>+ <span class="b3-list-item__text" ${type === "outline" ? ' title="' + Lute.EscapeHTMLStr(item.content) + '"' : ""}>${item.content}</span>${countHTML}${this.blockExtHTML || ""}</li>`;