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

While writing this post I clicked "code" and cut and pasted XML schema into the question. For some reason, all this then displayed was the first line "<?xml. . .". I fixed this by manually selecting and re "codifying" the text. But I shouldn't have to!

Thoughts? Observations? Is this true of all XML?

share|improve this question
AHH. will someone please take a look at THIS post (edit it!) which ironically, is more screwed up than the post it's complaining about. – user135632 Oct 10 '09 at 20:14
For info, to do inline code samples you use backticks. I believe this is shown on the right-hand-side when posting. – Marc Gravell Oct 10 '09 at 21:54

What happened was that only ended up indenting the first line of code. For code to show up properly every line needs to be indented by four spaces.

What you can do instead is paste your code in, then go back and select it and press the code button (or Ctrl-K). That indents it after the fact so it shows up right. That's how I fixed your post, I highlighted the XML and hit the code button.

share|improve this answer
interestingly, I did this too, we must have edited it simultaneously. If you can, try to edit this post, and take a look at whats happening here (my post is being cut off). – user135632 Oct 10 '09 at 20:14
I don't have enough rep to edit here. :-( – John Kugelman Oct 10 '09 at 21:08

You must log in to answer this question.

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