From 82d384bd1f3a6e62dfa386270960963b2a45fd6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B?= Date: Mon, 27 Jul 2026 15:49:42 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20backgroundUrls=20=E4=BB=8E=20c?= =?UTF-8?q?onst=20=E6=94=B9=E4=B8=BA=20let=EF=BC=8C=E5=85=81=E8=AE=B8=20SV?= =?UTF-8?q?G=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 33fc8b06d6e17a5e914aa4f5b34ef8d77f6d305f. --- 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 860a448..996ddbb 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; - let backgroundUrls = extractStyleImageUrls(styles); + const backgroundUrls = extractStyleImageUrls(styles); if (/^(IMG|VIDEO|SOURCE|PICTURE)$/i.test(element.tagName)) { for (const url of imageCandidates) {