Hmm... try disabling HTML in your post... if you leave the BBCode then it should still display as a Code block, but without the HTML parser getting in the way.