From 4bc747201ff446e8b4398ed3cbc2d321936a8a19 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?Revert=20"Reapply=20"fix:=20backgroundUrls=20?= =?UTF-8?q?=E4=BB=8E=20const=20=E6=94=B9=E4=B8=BA=20let=EF=BC=8C=E5=85=81?= =?UTF-8?q?=E8=AE=B8=20SVG=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 a5f1efa7cc9f1ac49a53ddcc9048022f66e37cef. --- 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) {