From c49ded0cc498ed323b044eb3274bbfc3e4e9b07c Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Wed, 24 Sep 2025 14:05:30 +0800 Subject: [PATCH] Fix indentation --- epub.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epub.js b/epub.js index 8297e02..0417d0d 100644 --- a/epub.js +++ b/epub.js @@ -848,8 +848,8 @@ class Loader { for (const el of doc.querySelectorAll('[srcset]')) el.setAttribute('srcset', await replaceSeries(el.getAttribute('srcset'), /(\s*)(.+?)\s*((?:\s[\d.]+[wx])+\s*(?:,|$)|,\s+|$)/g, - (_, p1, p2, p3) => this.loadHref(p2, href, parents) - .then(p2 => `${p1}${p2}${p3}`))) + (_, p1, p2, p3) => this.loadHref(p2, href, parents) + .then(p2 => `${p1}${p2}${p3}`))) // replace inline styles for (const el of doc.querySelectorAll('style')) if (el.textContent) el.textContent =