-
-
Notifications
You must be signed in to change notification settings - Fork 352
Description
Affected Version
v0.15.0
Describe the Bug
I have one EPUB (which has some other weird formatting issues aside from this) in which after the latest update all text in the book became bold.
Based on the changelog and the fact that stripping all images from the file resolved the issue, I assume that it relates somehow to the new feature replacing images with the placeholder and alt text.
One of the weird formatting things that I noticed about this EPUB is that it sometimes includes <img> tags inside of a header tag (e.g. <h2>), which is what led me to just delete the images from the file. It is technically valid HTML, but certainly uncommon, so I would understand not addressing this bug but it does point to a potential oversight in the image handler.
My guess is that the image handling interrupted the header handling such that Crosspoint never recognized that the heading was closed?
Steps to Reproduce
Open this particular EPUB, which I cannot share
Expected Behavior
Most of the book should not be bolded.