View Single Post
  #4 (permalink)  
Old July 6th, 2009, 03:02 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I've seen it before....

http://www.google.com/search?hl=en&q...r&aq=f&oq=&aqi=

I can reproduce it with Visual Studio 2008 and IE 8 but I think I've also seen it with Express editions and IE7. I think it's also a problem with VS 2010, but I am not sure. Copying it from VS 2010 running in a Virtual PC seems to remove the color so the code gets formatted correctly.

It's easy to reproduce. Just copy some code from VS, paste it in a reply window and hit Preview Post. All code is then messed up. If you use Code tags the code stays OK.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!