View Single Post
Old 05-14-2020, 01:44 PM   #22
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by carmenchu View Post
# get all i,b,small,sup,sub,br,a,li tags with class='*calibre*' (containing all those characters, in fact)

So this strips <i class="calibreX"> to <i>?

Occasionally, I see cases where the style makes it bold italic, not just italic.

Generally that seems to be set on words in a longer bold passage:

Code:
<p><b>Words in bold</b><i class=CalibreX">words bold italic</i><b> More bold</b></p>
So it's a good idea to inspect the definitions before running such a conversion.
AlanHK is offline   Reply With Quote