Thread: "huge" book
View Single Post
Old 04-29-2021, 11:01 AM   #3
Minstrelcda
Member
Minstrelcda doesn't litterMinstrelcda doesn't litter
 
Posts: 12
Karma: 108
Join Date: Dec 2020
Device: kobo
Quote:
Originally Posted by kovidgoyal View Post
Do an epub to epub conversion, calibre will handle it automatically for you
It turns out the problem wasn't related to the size of the file, but bad html code.

I tired opening the original html file directly from a browser and it crashed as well, but this time it pointed to a line and error. When I looked at the details the file was riddled with this tag (<o:p>&nbsp;</o:p>). I removed the tag and re-opened the file and this time it crashed on a different line with a different formatting error.

I then took the original file (errors and all) and converted from epub to epub as suggested. Not only did the conversion split that one file into multiple files (1 per chapter) it also appears to have cleaned up all the html errors. The book opens perfectly now in my reader.

Thanks for your help!

Last edited by BetterRed; 04-29-2021 at 06:21 PM. Reason: add noparse tags
Minstrelcda is offline   Reply With Quote