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/17777
Daniel4e98adf202a3
diff --git a/app/src/protyle/toolbar/util.ts b/app/src/protyle/toolbar/util.tsindex 4194c03c1e..849df4c103 100644--- a/app/src/protyle/toolbar/util.ts+++ b/app/src/protyle/toolbar/util.ts@@ -259,7 +259,7 @@ export const copyTextByType = async (ids: string[],text += `siyuan://blocks/${id}`;} else if (type === "protocolMd") {const response = await fetchSyncPost("/api/block/getRefText", {id});- text += `[${response.data}](siyuan://blocks/${id})`;+ text += `[${response.data.replace("[", "\\[").replace("]", "\\]").replace("(", "\\(").replace(")", "\\)")}](siyuan://blocks/${id})`;} else if (type === "hPath") {const response = await fetchSyncPost("/api/filetree/getHPathByID", {id});text += response.data;