SharePoint Designer Adds Blank Rows
Sometimes I have seen SharePoint Designer add lots of blank rows when you save an .aspx file. In trying to discern how this happens, I noticed a pattern and when I made a change the program no longer added lots of blank rows in the code. The behavior appears to happen when you have text, such as an attribute, which is not surrounded on either side by at least an open or close tag. Without showing code, just look for a value like a javascript: or an option in a data view which is not surrounded by tags and thus is considered plain text (black) in code view, and for some reason the automatic formatting engine starts placing way too many blank lines in there (I have seen tens of thousands).