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
for (var i = 0; i < 42; i++) {

When code leads the post, Markdown differs between the preview and the submitted HTML. The submitted HTML does not format the code while the preview does.

Bug does not repro on meta. I ran into the error when first posting this:

However, the revision log seems to be missing, so I can't prove my point.

share|improve this question
FWIW, it's better if you don't lead off with a code block - a short introductory sentence will show up on the Questions page and in tooltips on the front page. – Shog9 Feb 16 '10 at 19:01
There will be no revision log for revisions made within the first 5 minutes of the initial post, or within 2 minutes of each other for any other edit. – Ether Feb 16 '10 at 21:42
Add a blank line in front of your code and it will be repro here as well. – Alexander Pogrebnyak Jun 2 '10 at 16:33

can't reproduce this. Underlying source code on meta and SO is identical.

share|improve this answer
Here is another repro:… – Frank A. Krueger Feb 20 '10 at 15:42

You can add a few empty lines before the code block as a work around.

share|improve this answer
Funny that we all know the workaround, but this bug continues to get closed as No Repro. – Frank A. Krueger May 29 '10 at 22:35

You must log in to answer this question.

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