We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Inline comments are removed from inline lists.
To Reproduce
const input = 'key1: [value1, value2] # comment'; const parsed = yaml.parseDocument(input); const result = parsed.toString(); expect(result).toContain("# comment");
Expected behaviour Comments should be preserved.
Versions:
yaml
Additional context
The text was updated successfully, but these errors were encountered:
d4460a5
Thank you for reporting that! Remarkably silly bug; the order of two string arguments was reversed when stringifying flow collections with comments.
Sorry, something went wrong.
Thank you @eemeli for the quick fix!
Any plans for publishing the patch?
No branches or pull requests
Describe the bug
Inline comments are removed from inline lists.
To Reproduce
Expected behaviour
Comments should be preserved.
Versions:
yaml
: 2.2.1Additional context
The text was updated successfully, but these errors were encountered: