From 3a08234a78261bbbb5744252776ce33d45c6f79a Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 17 Jan 2026 16:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E8=B0=83=E6=95=B4=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/toolFunc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/toolFunc.ts b/src/utils/toolFunc.ts index 35eca29d..a99faedf 100644 --- a/src/utils/toolFunc.ts +++ b/src/utils/toolFunc.ts @@ -197,7 +197,7 @@ export function parseHtmlText(desc: string): string { const color = colorMatch[1]; const text = new DOMParser().parseFromString(colorMatch[2], "text/html").body.textContent; let title = text; - const colorLinkMatch = linkReg.exec(text); + const colorLinkMatch = text.match(linkReg); if (colorLinkMatch !== null) title = colorLinkMatch[2]; desc = desc.replace( colorMatch[0],