The documentation for the System.Xml.Linq.SaveOptions.DisableFormatting is "Preserve all insignificant white space while serializing".
|
<summary>Preserve all insignificant white space while serializing.</summary> |
But this option does the opposite: it removes all insignificant white space while serializing.