-
Notifications
You must be signed in to change notification settings - Fork 208
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
{ } block split over several lines #30
Comments
This is probably because currently Spyc is mostly line-driven. If you load the inline block as a single line, seems to work fine, accounting for the The YAML syntax in question has been supported by the spec since YAML 1.0, so we really should fix this. I'll take another stab at it at some point if no one else jumps on it. |
in the symphony I noted a similar problem |
@ryanuber: Any progress on this? Just got bitten by this today. |
@ossobuffo I honestly have not done anything related to this project in some years now, sorry! Maybe @mustangostang has some ideas? |
sorry my english 👻
example:
out:
array ( 'text' => array ( 'test1' => 123, 'test2' => 456, 'test3' => 789, ), 0 => '}', )
it was expected:
error
example:
out:
array ( 'text' => array ( 'test1' => '123,', 'test2' => '456,', 'test3' => 789, ), 0 => '}', )
it was expected:
array ( 'text' => array ( 'test1' => 123, 'test3' => 789, 'test2' => 456, ), )
The text was updated successfully, but these errors were encountered: