Yes, you read it correctly, Dreamweaver CS3 is rewriting my code. I'll go to save a file and upload it to my web site, only to get strange ColdFusion errors about unbalanced tags. I finally determined that if I close and reopen the file, I'll see the changes.
Fix the file, save, and re-upload, and the errors reappear. Needless to say, this is extremely frustrating, as you can never tell when deploying a set of changes to a site will work or not.
I've included a YouTube video after the break that shows the entire process.
As I said in the video, not closing the list tag can be considered bad practice, but still, why is Dreamweaver rearranging the code in the first place? All "rewriting" options are off in Preferences, so why alter code? And why alter code being saved to disk?
Unfortunately, I'm supporting one site that was started back in the days of CF4.5, and it's chock full of little non-standard inconsistencies like the above missing /LI tag, or non-closing /P tags. And it's gotten to the point where I'm afraid to make ANY changes whatsoever.
Has anyone else even heard of such a thing?