Quote:
Originally Posted by cybmole
that is easy
find
<p class="para c2">(.*)</p>
replace
<p class="para"><span class="italic">\1</span></p>
but having span in the replace is superfluous
so
replace
<p class="para" "italic">\1 </p>
is neater
PS so in fact why bother - just define class c2 to mean italic & you are done!
|
I thought the same thing but was just trying to follow along with the techniques the publisher had seemed to be using in other areas of the epub.
Still, this little exercise taught me quite a bit.
Thanks for all of your help and advice everyone.
- Byron