-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
#comment
parsed as incorrectly indented string in root block-scalar
#547
Labels
bug
Something isn't working
Comments
Yeah, there's something odd going on here. Probably to do with the -1 indent level that unindented nodes are considered to have. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
An error occurs when a
#comment
is one outdented than the (root level) block-scalar indentation-indicator indicatesBlock scalar lines must not be less indented than their explicit indentation indicator
To Reproduce
Expected behaviour
#comment 4
should be parsed ascomment
, not as part of the multi-line stringVersions:
yaml
:2.4.2
Additional context
The text was updated successfully, but these errors were encountered: