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: 标题存在字体颜色时大纲异常 https://github.com/siyuan-note/siyuan/issues/5009
Liang Ding25034d5eb270
diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.tsindex 705b4f20d4..be1039a238 100644--- a/app/src/util/Tree.ts+++ b/app/src/util/Tree.ts@@ -71,7 +71,7 @@ data-type="${item.nodeType}"data-subtype="${item.subType}"${item.label ? "data-label='" + item.label + "'" : ""}><span style="padding-left: ${item.depth * 16}px" class="b3-list-item__toggle">- <svg data-id="${(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>+ <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.name}</span>