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

Newlines in inline tables #91

Closed
dwilliamson opened this issue Dec 22, 2024 · 2 comments
Closed

Newlines in inline tables #91

dwilliamson opened this issue Dec 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@dwilliamson
Copy link

Is there any chance of supporting newlines in inline tables?

It appears this was added to the spec in 2022: toml-lang/toml#516

It looks to be something as simple as allowing newlines to be eaten in this piece of code here, which contains explicit logic to error when newlines are encountered:

var previousLine = _hideNewLine;

@xoofx xoofx added the enhancement New feature or request label Dec 22, 2024
@xoofx
Copy link
Owner

xoofx commented Dec 22, 2024

Fixed by b2377a1

@xoofx xoofx closed this as completed Dec 22, 2024
@dwilliamson
Copy link
Author

Thank you for the quick response!

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

No branches or pull requests

2 participants