preformatted text (like, code!) breaks
indented
with
spaces
indented
with
tabs
preformatted text (like, code!) breaks
indented
with
spaces
indented
with
tabs
Currently, the HTML structure for these blocks is:
<code>blah<br />
blah<br />
blah</code>
A solution would be: (of course, doing this in the style sheet is a better idea.)
<code style="white-space: pre;">blah
blah
blah</code>
Or, alternatively:
<code><pre>blah
blah
blah</pre></code>
Basically, anything to let the rendering engine know that the code is pre-formatted should leave the white space intact.
Of course, make sure to remove any line breaks nested between the code tags.
Actually, I found out that pre-wrap; works better than pre; because it allows text to wrap, which means that it doesn't overflow past the edge of the screen forever.