Skip to main content
edited tags
Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Source Link
Engineer2021
  • 6.9k
  • 26
  • 37

Multi-Line Comment With Code Does Not Properly Markup Unless You Edit and Save Again

When making a comment for the first time, if you paste in code like so:

alt text http://img300.imageshack.us/img300/9916/65370402.png

Then it does not highlight as code, see below:

alt text http://img189.imageshack.us/img189/7518/66392876.png But if you go back and edit it again, you'll see that it is now all one line:

alt text http://img519.imageshack.us/img519/4033/54880563.png and then after clicking Save Your Edits, it will display properly:

alt text http://img156.imageshack.us/img156/2186/35498463.png

This works properly when previewing your post before asking a question.