Using the designer to edit a WebForm with a master page will reformat the HTML code in the Source view. The reformatted code does not appear to follow any settings.