View Single Post
Old 06-09-2014, 06:55 PM   #682
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,197
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
Those make sense; added.

Attached are two versions of the latest code. One is the latest version of the one you've seen, with the de-Kobo and strip-span functions combined. The other separates them into two functions, both of which perform the self-closing combination and removal. The GUI, batch, and help files contain the proper information, except that I have not updated the help file to document the self-closing feature, the empty-removal feature, or to remove the "hey, this is experimental" note. In short, consider this a late-stage beta.

Feedback and testing is, naturally, more than welcome.
Very nice. I really dislike spans that do nothing at all. All that does is code bloat.

Now, can you come up with a mod to change those <span class="italics">, <span class="italic">, or <span class="bold"> into proper <em> and <b> of course with the proper close? That would solve one other pet peeve I have.
JSWolf is offline   Reply With Quote