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: fix https://github.com/siyuan-note/siyuan/issues/8359
Vanessad2cfe413a288
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex b1a81251c6..8219b73034 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -258,7 +258,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEvenif (isDynamicRef(textPlain)) {protyle.toolbar.setInlineMark(protyle, "block-ref", "range", {type: "id",- color: `${textPlain.substring(2, 22 + 2)}${Constants.ZWSP}s${Constants.ZWSP}${Lute.EscapeHTMLStr(range.toString())}`+ // range 不能 escape,否则 https://github.com/siyuan-note/siyuan/issues/8359+ color: `${textPlain.substring(2, 22 + 2)}${Constants.ZWSP}s${Constants.ZWSP}${range.toString()}`});return;} else if (isFileAnnotation(textPlain)) {