dotnet / dotnet/dotnet-api-docs
System.Xml.Linq.SaveOptions.DisableFormatting documentation is incorrect
Open
area-System.Xml
doc-bug
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
The documentation for the System.Xml.Linq.SaveOptions.DisableFormatting is "Preserve all insignificant white space while serializing".
https://github.com/dotnet/dotnet-api-docs/blob/4c32bcfaf05e350716f5e56af0bf78b55692768e/xml/System.Xml.Linq/SaveOptions.xml#L147
But this option does the opposite: it removes all insignificant white space while serializing.
Contributor guide
Assessment
This issue has not been assessed yet.