From d5525e42b36451cf59a24e48cf02da91eb138efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:50:01 +0800 Subject: [PATCH] fix: optimize-img plugin --- plugins/lts/optimize-img.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/lts/optimize-img.ts b/plugins/lts/optimize-img.ts index 61bafbc..a3f65ce 100644 --- a/plugins/lts/optimize-img.ts +++ b/plugins/lts/optimize-img.ts @@ -57,8 +57,6 @@ export default () => (site: Lume.Site) => String.fromCharCode(...binaryThumbHash), ) img.setAttribute('data-thumbhash', base64Thumbhash) - - img.replaceWith(img) } } }))