From 1e8080754c27e5426a896369c71a6e95292fd8bf Mon Sep 17 00:00:00 2001 From: Protected Date: Tue, 13 May 2025 13:17:02 +0000 Subject: [PATCH] Generate full document for comic-book iframes in order to prevent warning spam. (#60) Prevents the document from rendering in quirks mode unnecessarily and warnings about encoding. --- comic-book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comic-book.js b/comic-book.js index d3bb575..88c7a35 100644 --- a/comic-book.js +++ b/comic-book.js @@ -5,7 +5,7 @@ export const makeComicBook = ({ entries, loadBlob, getSize }, file) => { if (cache.has(name)) return cache.get(name) const src = URL.createObjectURL(await loadBlob(name)) const page = URL.createObjectURL( - new Blob([``], { type: 'text/html' })) + new Blob([``], { type: 'text/html' })) urls.set(name, [src, page]) cache.set(name, page) return page