The HTML display issue isn’t a fault in the HTML but in the renderer on the machine – line endings are white space, and should be rendered just as if it was a space.