I’ve been meaning to post on this topic for some time, and a recent comment reminded me to do so. As many of you will have noticed, when you do a straight copy & paste of code from this blog into Visual Studio, it comes with unwanted line feeds. For instance, taking some recently posted code using Internet Explorer 9: And pasting it into VS2010 results in unwanted linefeeds in the code: Less than ideal, to say the least. The reason this happens is probably the way the HTML gets formatted by the CopySourceAsHtml tool I use to get... Read more →