From 037f083e591b45e60f73e14efa9b1cd79fde2a75 Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Thu, 15 Sep 2022 17:38:38 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E3=81=AA=E3=83=A1=E3=83=B3?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92=E5=88=A9=E7=94=A8=E3=81=97?= =?UTF-8?q?=E3=81=9FXSS=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/markdown/markdown.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/markdown/markdown.ts b/src/lib/markdown/markdown.ts index b9af7ed70..50e6917a8 100644 --- a/src/lib/markdown/markdown.ts +++ b/src/lib/markdown/markdown.ts @@ -37,10 +37,10 @@ const storeProvider: Store = { return `${embeddingOrigin}${channelIdToLink(id)}` }, generateUserHref(id) { - return `javascript:openUserModal('${id}')` + return `javascript:openUserModal(${JSON.stringify(id)})` }, generateUserGroupHref(id) { - return `javascript:openGroupModal('${id}')` + return `javascript:openGroupModal(${JSON.stringify(id)})` } }