Hi slowsmile. I think DNSB is aware that is not the correct use of <i> </i>. He stated that a
program an author uses put it in there. He was using your plug-in to clean it up and your plug-in had the side effect of removing all the spaces.
Quote:
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.
|
Personally, I would just check for spaces in everything: <i> </i>, <b> </b>, <em> </em>, <strong> </strong>, <span> </span> and replace it with a space before running the delete empty spans routine.