You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, this is not a bug but intended behaviour. The top level of a YAML document is considered to be at the -1 level so that e.g. |\na\nb\n doesn't cause an error but is parsed as 'a\nb\n'. Therefore if a top-level scalar block header includes a number, it should be one more than the expected number of indentation spaces.
This behaviour also matches that of other libraries:
It will output
a\n b\n
. It should outputa\nb\n
.The text was updated successfully, but these errors were encountered: