From a5f1efa7cc9f1ac49a53ddcc9048022f66e37cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B?= Date: Mon, 27 Jul 2026 15:49:56 +0800 Subject: [PATCH] =?UTF-8?q?Reapply=20"fix:=20backgroundUrls=20=E4=BB=8E=20?= =?UTF-8?q?const=20=E6=94=B9=E4=B8=BA=20let=EF=BC=8C=E5=85=81=E8=AE=B8=20S?= =?UTF-8?q?VG=20=E8=B5=8B=E5=80=BC"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 82d384bd1f3a6e62dfa386270960963b2a45fd6d. --- 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) {