View Single Post
Old 12-06-2023, 09:09 AM   #167
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,370
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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.
Turtle91 is offline   Reply With Quote