From 1d2e0821fcb577222961e10a3faaea91912bbcbd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 17 May 2023 22:46:05 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/8290 --- app/src/protyle/wysiwyg/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 0bf048375..1941300d3 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