Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/8290

Vanessa1d2e0821fcb5
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 0bf0483755..1941300d30 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1645,7 +1645,7 @@ export class WYSIWYG {
if (aElement && !event.altKey) {
event.stopPropagation();
event.preventDefault();
- const linkAddress = aElement.getAttribute("data-href");
+ const linkAddress = Lute.UnEscapeHTMLStr(aElement.getAttribute("data-href"));
/// #if MOBILE
openByMobile(linkAddress);
/// #else