[
Quote:
Originally Posted by gilmorehp
Hi, I know there must be an easy way do do this, i want to replace the following
example:
<p class="class_s9h">sample text sample text</p>
replace with
<p class="text"><i class="italic">sample text sample text</i></p>
I want to keep the original text but change the "class"
what do I put in the find/replace field
Thanks in advance! 
|
A very simple thing you can do is use the TagMechanic plugin. You can easily change classes and you could put italic in the CSS. It's really simple with this plugin. I use the calibre version a lot.
Code:
font-style: italic;
Just a quick note, don't do <i class="italic"> that's overdoing it. All you need is <i>.