View Single Post
Old 01-02-2017, 02:44 AM   #1073
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 802
Karma: 628976
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Possible to remove fixed linebreaks <br/>?

I got some ebooks where every line is ended with a
Code:
<br/>
like this:

Code:
bla bla blub bla bla<br/>
bla bla blub bla bla, bla bla blub bla bla<br/>
bla bla blub bla bla.<br/>
<br/>
bla bla blub bla bla.<br/>
resulting in a very ugly page layout.
Till now I was using "Edit book", doing a search and replace in 3 steps to fix the problem:
1) search and replace (regex) for:
Quote:
^<br/>
replace with
Quote:
@@@@@@
2) search and replace (regex) for:
Quote:
<br/>
replace with " "(Space)
3) 1) search and replace (regex) for:
Quote:
@@@@@@
replace with
Quote:
<br/><br/>
I wonder if there is a way to do this with modify epub or if this feature could be incorporated.

Last edited by nhedgehog; 01-02-2017 at 06:51 AM.
nhedgehog is offline   Reply With Quote