-
Notifications
You must be signed in to change notification settings - Fork 155
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
Uneven spacing between tables #152
Comments
I guess I have fixed it. After checking CI status, I will merge it. |
It solves the problem partially. I have a new test case:
Which formats like this:
I think it should space it like this. Whether or not there should be an empty line before [B.C] is down to taste...
|
I added another patch to format your example in the following way. O = 0
[B]
b = 3
[B.C]
c = 2
[D]
d = 4
[A]
a = 1
Although it is not completely the same as your proposal (it has an empty line between |
I'm using the latest release, toml11-3.6.1. This code:
Produces this serialized output:
For some reason, the serializer doesn't add an empty line between the first and second table. Should be easy to fix? I had a quick look but coudn't find why it does that.
The text was updated successfully, but these errors were encountered: