From a11d9b55f4f56ca535575661824cdf9bd3c82caf Mon Sep 17 00:00:00 2001 From: wanglu Date: Mon, 22 Aug 2022 09:29:37 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E7=89=87=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E6=9C=89=E6=8B=AC=E5=8F=B7=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=20markdown=20=E9=93=BE=E6=8E=A5=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/admin/src/pages/Static/img/tools.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin/src/pages/Static/img/tools.tsx b/packages/admin/src/pages/Static/img/tools.tsx index 6c2608d66..94d243b55 100644 --- a/packages/admin/src/pages/Static/img/tools.tsx +++ b/packages/admin/src/pages/Static/img/tools.tsx @@ -6,7 +6,7 @@ export const getImgLink = (realPath) => { if (realPath.includes('http://') || realPath.includes('https://')) { url = realPath; } - return url; + return url.replace(/\)/g, '%29'); }; export const copyImgLink = (realPath, isMarkdown = false) => { let url = getImgLink(realPath);