View Single Post
Old 12-05-2023, 07:57 PM   #161
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,438
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I ran into a rather odd glitch. One author that I do so work with changed the program they used to generate ePubs. One result is the misuse of <i> tags.

This is what I would expect to see:
Code:
<i>This is an italic sentence</i>.
This is what the misbegotten program generates:
Code:
<i>This</i><i> </i><i>is</i><i> </i><i>an</i><i> </i><i>italic</i><i> </i><i>sentence</i>.
And CustomCleanerPlus removes the <i> </i> strings so what pops out is:
Code:
<i>This</i><i>is</i><i>an</i><i>italic</i><i>sentence</i>.
Thisisanitalicsentence.

I worked around it by converting the <i> </i> to a simple space (ditto for the <b> </b> but they were a lot rarer before doing much else.

Last edited by DNSB; 12-05-2023 at 08:00 PM.
DNSB is online now   Reply With Quote