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

YAML 1.2 Example 8.2 indentation indicator #16

LLyaudet opened this issue Apr 1, 2016 · 1 comment


Copy link

commented Apr 1, 2016


According to section "" the indentation indicator is relative to the indentation level of the parent node.
For me, in "Example 8.2" the parent node is the "seq" with indentation level 0.
Hence, the indentation indicator for "explicit" should be 2 instead of 1.
Am I correct ? If not, where do I make an error ?

Best regards,
Laurent Lyaudet


This comment has been minimized.

Copy link

commented Feb 13, 2018

The value of the block scalar in question is " explicit", i.e. it has a leading space. The first space on that line is taken by the indentation due to the explicit "1" level, the second is a part of the scalar value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.