View Single Post
Old 06-04-2020, 08:52 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
Thank you for pointing out this horrible test case. It is not just one big file, it is one super big line!!! There are NO linebreaks anyplace. And Sigil is a line based editor.

It actually opens better in older versions (0.9.14) when mend on open is used so that at least that huge line is split into multiple lines.

Perhaps adding a "bad epub" input plugin that can be used to do what old Sigil did (force at least some linebreaks into the file after block level tags). And I might also be able to add some ability to collect out inline styles into a separate css file.

That is one messed up epub, and therefore a wonderful test case for improving Sigil. I will look into it.

Last edited by KevinH; 06-04-2020 at 08:57 AM.
KevinH is offline   Reply With Quote