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

Possible Duplicate:
Pasting code from Stackoverflow to notepad loses line breaks using IE?

You could add the "pre" tag programmatically.

share|improve this question

marked as duplicate by Jeff Atwood Aug 3 '09 at 17:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I guess you are talking about this:… – innaM Aug 3 '09 at 12:43
better yet, if you have a choice, don't use IE! ;-) – scunliffe Aug 3 '09 at 14:36

Select the block of code and then click the "101010" button or press "Ctrl-K".

share|improve this answer
@Jonathan: :) nice – akarnokd Aug 4 '09 at 16:35