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

I've just posted a question on Stack Overflow and noticed problems in the display of the blockquote.

Some parts of the code wasn't displayed at all. For example this piece of code which is on one line : <html> <body> hello world </body> </html> gives with blockquote :

hello world

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I fixed your post but take a look to see if it is what you want.

You don't want to use block quotes. That is for quoting text passages. That will strip out your HTML.

What you want is "code blocks." That will post your literal text exactly as your enter it (with a bit of code prettifying).

share|improve this answer
    
oups my mistake thank you –  Martin Trigaux Jan 16 '10 at 17:56

You need to use the code sample option to display code, not the blockquote option.

It's [Ctrl]+K or the "101010" icon to convert text already entered, or prefix each line by four (4) spaces.

Like this
share|improve this answer
    
Sweet. I didn't know about CTRL+K. –  bobobobo Jan 16 '10 at 21:06

You must log in to answer this question.

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