View Single Post
Old 06-24-2014, 10:29 AM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,147
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Bigo2 View Post
Hi DoctorOhh - it does not work...

When checking this epub in Sigil, I have found that after every paragraph instead </p>, there is </p><br class="calibre1" />

So I used find and replace and after some time I was able to fix it all. I know I could've use Repace All, but I wanted to make sure not loosing something I did not want.

Thanks
That construct is a forced break (after a paragraph ends . I thought BR's had to be inside a block element?)

Code:
search: </p>\s*<br class="calibre1" />\s+(<p class="value_here">)

replace: </p> \1
You might get away with just removing just a BR if it follows a </p>
(?</p>\s*)<br class="calibre1" />
theducks is offline   Reply With Quote