First, the rendering is more or less as expected, however we can already see a somewhat differing font rendering between the middle example on one hand, and the first and last one on the other hand.
Opening the page in the WYSIWYG editor then shreds the layout of the middle example completely.
As we can see in the source view, also the source code is garbled / shredded, with all newlines gone.