Inserting code on separate lines (using code insert) doesn't preserve the line breaks. In the HMTL source, it's all mashed between <pre> tags.
This should now be fixed. If you edit the tutorial in question and publish it again it should reformat it all properly.
Develop games in your browser. Powerful, performant & highly capable.
Thanks Tom, you rock! ;)