I recently asked a question on SO in which one of my code snippets had some strange formatting issues. The issues appear in the top-most code snippet. Despite a bunch of effort, I could not resolve these formatting problems.

Most obviously, the horizontal scroll bar appears before the closing brace that ends the code snippet. Additionally, the contents of the using block are not properly indented.

These issues are consistent across all versions of Firefox, IE, and Chrome that I've tried.

  • I fixed it for you by inserting an HTML comment to break the codeblock out of the last list item. I'm not sure if the behaviour you were seeing originally is by design or not, though. – Tim Stone Dec 2 '10 at 1:30
  • Ahh, I didn't even consider that the codeblock was being considered part of a list. Thanks! – Odrade Dec 2 '10 at 21:49

This bug will be fixed in the next build, after which your original post (without Tim's workaround) would work as expected.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .