Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roundtrip doesn't preserve blank lines #34

Open
danielperovich opened this issue Feb 18, 2018 · 1 comment
Open

Roundtrip doesn't preserve blank lines #34

danielperovich opened this issue Feb 18, 2018 · 1 comment

Comments

@danielperovich
Copy link

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?

@poteat
Copy link

poteat commented May 16, 2019

JSON doesn't preserve blank lines either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants