Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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.

share|improve this question
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
up vote 2 down vote accepted

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

share|improve this answer

You must log in to answer this question.

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