hjson-js icon indicating copy to clipboard operation
hjson-js copied to clipboard

Roundtrip doesn't preserve blank lines

Open danielperovich opened this issue 7 years ago • 1 comments

When using Hjson.rt.parse and stringify, blank lines in the source are not preserved.

For instance, in the sample test.hjson file, if a blank line is added at line 15 (between text and quote properties), the output of stringify will not include that blank line.

Can this behavior be configured somehow?

danielperovich avatar Feb 18 '18 15:02 danielperovich

JSON doesn't preserve blank lines either.

poteat avatar May 16 '19 22:05 poteat