View Single Post
Old 05-20-2020, 04:01 AM   #2098
Selenia
Member
Selenia began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: Kobo Aura One
Quote:
Originally Posted by davidfor View Post
The addition of the extra css isn't causing the problem. It might cause other problems, but, they will be when the book is rendered on the device.

What it looks like is that the parsing of the text has changed. Somewhere there is something that is seeing the "<br/>" and deciding a "</p>" is needed after it. The extra "<p>" is added later, probably as part of a beautify function, to fix the error cause by having unbalanced tags.

I can see the changes in the plugin to get the code out of the books and parsing it. I haven't dug down to see exactly what else is going.
Thanks for the input so far. I have looked through the epub more closely and it seems all the formatting differences are probably caused by this same issue. In total there are 7 extra <p>-tags in the whole file. The other ones in Hoodstuk08.xhtml and Hoofdstuk20.xhtml.
There are 26 <br/>-tags in the epub and only some of them seem to be affected.
@DNSB
I will have a look at KoboPatch, but I do not know if I am comfortable with changing the original firmware on my reader.
Selenia is offline   Reply With Quote