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/17374
Vanessa2e8ef4bf7a55
diff --git a/app/src/block/popover.ts b/app/src/block/popover.tsindex b24e66a60c..abe0a67b9a 100644--- a/app/src/block/popover.ts+++ b/app/src/block/popover.ts@@ -84,7 +84,7 @@ export const initBlockPopover = (app: App) => {}let tooltipSpace: number | undefined;if (!tip && aElement.getAttribute("data-type")?.includes("inline-memo")) {- tip = aElement.getAttribute("data-inline-memo-content");+ tip = window.DOMPurify.sanitize(aElement.getAttribute("data-inline-memo-content"));tooltipClass = "memo"; // 为行级备注添加 class https://github.com/siyuan-note/siyuan/issues/6161tooltipSpace = 0; // tooltip 和备注元素之间不能有空隙 https://github.com/siyuan-note/siyuan/issues/14796#issuecomment-3649757267}