I agree with itimpi, what you're most likely seeing is Calibre's default styling of paragraph tags during conversion. You'll need to actually open up the html to see if there really are blank lines.
There are several ways to handle this, as I said before:
- Use the 'remove paragraph spacing' option. But presently this will remove the softbreaks, which was the original reason you opened this thread. (sorry about not realizing you were the OP). The remove paragraph spacing option changes the styles set by Calibre, but it also deletes softbreaks since that is what the user is asking to do when checking that box.
- Change the 'minimum line height' setting under 'Look and Feel' to 100%. Haven't tried this particular option, but doing that should work and would be a permanent fix if you enable it globally.
- Enter a line like this under the extra_css option under 'Look and Feel':
Code:
p {margin-top: 0em; margin-bottom: 0.3em}
I used 0.3em on the bottom margin to create a bit of extra space, tweak as you like.
@JSWolf, Python/Calibre normalizes all the different kinds of Windows/Unix/Mac linefeeds to a single representation of a linefeed in the conversion pipeline, so one type vs. another won't trip Calibre up.