-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I have file with like this structure:
# comment
a: 0
b: 0
I load, change some value and save it:
var options = new HjsonOptions { EmitRootBraces = false, KeepWsc = true };
var config = HjsonValue.Load(configurationFileName, options);
config["a"] = 1;
HjsonValue.Save(config, configurationFileName, options);
After that file has mixed line endings:
- in comment lines - LF
- in value lines - CRLF
The situation repeats regardless of the source line endings. Files for testing:
CRLFConfig.txt
LFConfig.txt
Metadata
Metadata
Assignees
Labels
No labels