The nl2br will turn
into
But if you want the spaces before the second line in place, you might consider using the <pre></pre> tags, so you won't need to replace the new lines at all. The only downfall being the dodgy preformatted font, which chooses the most appropriate font for same-width characters.