Quote:
Originally Posted by DNSB
You might want to open the kepubify and Calibre plugin versions in an epub editor and see what that code looks like after the conversion. It's possible that one is converting to <p>*</p> while the other is leaving it as <p> </p>. The XHTML5 spec removed most of the named character entities so you have to use the numeric character entities which makes sense since XHTML5 dropped DTDs and most of the named character entities were defined in a DTD.
|
That's a good idea, so I tried checking the two versions in an editor.
The Calibre plugin changes it to <p> </p>.
Kepubify changes it to <p></p>.
I tried changing the instances of <p> </p> in the original epub to <p> </p>, and then converted with kepubify, to see if there was any difference.
Like before, it still changed it to <p></p>.
So I guess that explains why the spaces are disappearing.