diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index b1a81251c..8219b7303 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 | DragEven if (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)) {