Epub->htmlz: Add <p> tags as <div class="Para"> children
Hello!
I have an epub that I am looking to fix when I export it to HTMLZ.
Currently, it defines the paragraph by a <div> with the class "Para" (short for 'Paragraph'). I am sure that I could just do a search and replace for all div that meet this criteria, just turning <div class="Para"> into <p>, but there are also 'id' tags in the mix, which are used for links.
So ideally, I'd like to add a child class to these divs.
Here's a quick example:
Current Epub:
<div id="link001" class="Para">
Let's start off by saying...
</div>
Current HTMLZ:
<div id="link001" class="Para">
Let's start off by saying...
</div>
Expected HTMLZ:
<div id="link001" class="Para">
<p>
Let's start off by saying...
</p>
</div>
Is this possible?
Thank you!
|