Questionable formatting in xml/csproj files (original) (raw)

I generally like the fact that Csharpier picks up XML files now, however some formatting rules are a bit questionable.

Input:

netstandard2.0;net9.0 true true true

Output:

netstandard2.0;net9.0 true true true

Expected behavior:

netstandard2.0;net9.0 true true true

Or, probably better:

netstandard2.0;net9.0 true true true

Additionally, why does CSharpier remove empty newlines in XML? I think newlines are useful to separate certain element blocks, like <ItemGroup>.