Quote:
Originally Posted by salty-horse
I'm just trying to get the ebook I purchased to work on my device, and I did. Improving the markup isn't my goal.
|
That's totally understandable! I also use CSS for my personal reading device that I wouldn't if the ebook was for general use.
For anyone else who may be reading this -
A simple way to replace all those empty paragraphs is to use a find/replace:
Code:
find: <p class="CLASSNAME"><br/></p>\s*<p>
replace: <p class="SecBrk">
<p> = whatever tag follows the empty paragraph
\s* = any empty space between the tags
Make sure it is correct and then click "replace all" (assuming you have 'all HTML files' and regex selected)... All done in just a few seconds!