View Single Post
Old 03-06-2026, 03:59 AM   #22
recook
Connoisseur
recook began at the beginning.
 
recook's Avatar
 
Posts: 50
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
Html import error still present

Hi,

running the 2.7.5 Beta3 Appimage on LinuxMint 22.3 (Ubuntu 24.04),
i tried to import into the open EPUB file a HTML page containing a big <script> tag in the Head.
Like before with 2.7.0, the very same error persists:

> The following file(s) were not loaded due to invalid content or not well formed XML:
>
> /.../1_.html (line 128: Expected ';', but got '='.)

The lines 127-129 in there read
Code:
				pushAppServerKey: '',
				url: {
					fullBase: 'https://www.alternatehistory.com/forum/',
There's not a '=' to be seen.

The builtin Ebook editor of Calibre on import of this file sometimes presents the same error, sometimes just imports it, so that i can remove the <script>.*</script>.
recook is offline   Reply With Quote