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/16469
Vanessaad11d67947a3
diff --git a/app/src/search/path.ts b/app/src/search/path.tsindex 2f64285096..df857d6a59 100644--- a/app/src/search/path.ts+++ b/app/src/search/path.ts@@ -52,7 +52,8 @@ const renderSearchPath = (element: Element, hPath: string) => {const pathElement = element.querySelector("#searchPathInput");if (pathElement) {pathElement.innerHTML = `${escapeHtml(hPath)}<svg class="search__rmpath"><use xlink:href="#iconCloseRound"></use></svg>`;- pathElement.setAttribute("aria-label", hPath);+ // Tooltip 会将 aria-label 作为 HTML 渲染,动态赋值时需要保留一层实体转义。+ pathElement.setAttribute("aria-label", escapeHtml(hPath));}};