Whitespace

Html white space is not trivial to parse correctly.

For example, there's a lot of space between this paragraph and the previous one.

There's also a lot of space between the previous paragraph and this one.

And check this out (no space, space, line break):
(boldnormal) (bold normal) (bold normal)

And this (no space, space, line break):
(bolditalic) (bold italic) (bold italic)

Now, here's four spaces that should be preserved:    the end.

To finish, here's some more pre-formatted stuff:

As you know, pre-formatted stuff does not wrap automatically.
Instead, it honors the line breaks used in the original text. As this should show...
line 1
line 2
line 3
line 4
And here's some code: line 1 line 2 line 3 line 4;

Now we're back to normal. Add a horizontal ruler (<HR>)


and be done (no spaces after that (<HR>), right?).

This paragraph has a line that ends with a BOLD and then a line break and some more text. So there should be a space between the BOLD word and the stuff that comes after.