From 33fc8b06d6e17a5e914aa4f5b34ef8d77f6d305f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B?= Date: Mon, 27 Jul 2026 15:48:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20backgroundUrls=20=E4=BB=8E=20const=20?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20let=EF=BC=8C=E5=85=81=E8=AE=B8=20SVG=20?= =?UTF-8?q?=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-to-ppt/capture.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-to-ppt/capture.js b/web-to-ppt/capture.js index 996ddbb..860a448 100644 --- a/web-to-ppt/capture.js +++ b/web-to-ppt/capture.js @@ -944,7 +944,7 @@ const children = []; const imageCandidates = getElementImageCandidates(element); const currentSrc = imageCandidates[0] || null; - const backgroundUrls = extractStyleImageUrls(styles); + let backgroundUrls = extractStyleImageUrls(styles); if (/^(IMG|VIDEO|SOURCE|PICTURE)$/i.test(element.tagName)) { for (const url of imageCandidates) {