Something changed. Because it’s been so long since I’ve copied and pasted code to this blog I don’t recall if it’s the settings in Visual Studio that changed or if it’s the WordPress blog post editor. At one point in the past it was clearly possible to copy code maintaining the fonts, colors, formatting, etc but in that last post about custom attributes in MVC all of that was lost. It’s possible that the older post with correct formatting was done from an install of Visual Studio that had an extension meant to make easy for this activity… I recall having something like that installed at one time.
I’ll try to figure it out and make whatever changes are needed so that future posts about code will look the same on WP as they do in my code editor. Riveting stuff, I know… but it’s somewhat important to me.