Have a look at the bottom of this answer. You can see that the code formatting continues even after the end of the answer. This is because the elements
<code> are unclosed for some reason, as seen by the W3C validator. Note also how the three last lines of the code block are not visible. Here's a picture from my browser (Firefox 28.0):
To me, the Markdown source of the answer seems fine, so the question is - what is causing this glitch?