Another option is to fix it after the fact in Sigil - I was digging into this more, and the blank line is actually preserved as an extra line feed in the converted document created by Calibre - so anywhere there was a soft break (using blank lines) the resultant file has 2 or more empty lines/line feeds.
So a regex like this:
(?<=\n)\n{2}
Replaced with this:
<p> </p>
Would re-insert the soft-breaks for epub.
I'm not really familiar enough with the rtf code to figure out where to fix it there, but this would also be easy enough to include in the optional preprocess code.
Edit - I was wrong about the extra line feeds being preserved - they aren't preserved unless a variable gets tweaked in the source code.
Last edited by ldolse; 11-19-2010 at 02:46 AM.
|