Originally Posted by JayLaFunk
Remove the line "white-space: pre" and see what happens.
If this is not enough, change at least the first occurences of
<pre class="calibre3">bla bla </pre>
If you use "pre" all line breaks of the source code are literally followed. Is that what you want to occur?