View Single Post
Old 04-08-2014, 01:34 PM   #637
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by Perkin View Post
I think you might like to add <em/> and <strong/>, which I've also seen, not as much as the others, but still.
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.
Attached Files
File Type: zip Modify ePub - stripspans.zip (150.6 KB, 334 views)
File Type: zip Modify ePub - stripspans and stripkobo.zip (150.7 KB, 377 views)
Rev. Bob is offline   Reply With Quote