What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I've been trying to edit this SO question to get the two code blocks in the middle formatted as code, but for the life of me I can't. In the preview the first one gets half-formatted, but it's not converted properly into a code block in the final post. I tried it in the formatting sandbox as well, but no dice.

And just for reference, here's the code block:

$VAR1 = {
  'P5' => {
    'E' => '06' => [100, 200, 95]
    'B' => '23' => [20, 1000, 05, 30]
  },
  'P2' => {
    'C' => '24' => [18, 23, 2300, 3456]
  },
  'P1' => {
    'A' => '12' => [24, 25, 3200, 5668]
    'D' => '15' => [168]
  }
};
share|improve this question

1 Answer 1

up vote 2 down vote accepted

The code blocks had some whitespace problems. The lines weren't indented by spaces alone. Not sure what the characters between the spaces were, but they were throwing Markdown parser off.

NullUserException beat me to the edit, but it's all fixed up now either way.

share|improve this answer
    
The characters where non-breaking spaces (U+00A0). –  balpha Dec 23 '11 at 8:15

You must log in to answer this question.

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