Quote:
Originally Posted by carmenchu
# 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.