Using Visual Studio generated Settings file, when I input only spaces they are converted to a line break.
I think that's because the Settings file content is synchronized to app.config
and as the IDE has XML auto formatting enabled it converts:
<setting name="Separator" serializeAs="String">
<value> </value>
</setting>
to
<setting name="Separator" serializeAs="String">
<value>
</value>
</setting>
automatically.
How to fix this without disabling XML auto formatting?
I tried
without success.