jeremyfa / yaml.js

Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.
MIT License
889 stars 142 forks source link

Multidimensional array (nested array) not parsed correctly #113

Open asokani opened 6 years ago

asokani commented 6 years ago

This YAML:

--- 
- - test
  - test1

should be equivalent to this:

--- 
- 
  - test
  - test1

but the first form is parsed as "[- test\n- test1]". It should not be necessary to start a nested sequence with a new line.

Logende commented 5 years ago

Any news about the issue?