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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multidimensional array (nested array) not parsed correctly

asokani opened this issue · comments

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.

Any news about the issue?