Closed thataboy closed 2 years ago
Follow up:
This is one of two edge cases I've stumbled on that cause extra spacing between blocks. The other is when block contains white space at the end, e.g. (the white space here is the \n
before </p>
)
<p>
...some text here...
</p>
AND on layout the last line of text fits the entire width of the block, then the <p>
will have extra spacing below it.
Here is my probably naive fix for the edge cases. Appears to have negligible impact on performance. Not sure if it's worth doing, nevertheless :)
For example
The
<span id ="aaa" />
causes extra spacing as if it's<p> </p>
I encountered this in a book which passed epubcheck.
0.9.28 correctly ignores the span test.html.txt