From 2ee4bb9f26129de67a52f149ff7343c0c2c00a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B?= Date: Mon, 27 Jul 2026 15:49:57 +0800 Subject: [PATCH] =?UTF-8?q?Reapply=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 4bc747201ff446e8b4398ed3cbc2d321936a8a19. --- 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) {