kthoom icon indicating copy to clipboard operation
kthoom copied to clipboard

EPUB files throw errors with stylesheets referenced in the <head>

Open codedread opened this issue 2 years ago • 0 comments

The function inflateSpine_() has the following line inside the XhmltPage inflater function:

        cdoc.head.innerHTML = new XMLSerializer().serializeToString(curHead);

which seems to throw an error during inflation (when the reader tries to render the page) because old BlobURLs are present.

Can we remove blobURLs from the DOM when the page is shifted out of the iframe?

codedread avatar Nov 19 '23 18:11 codedread