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

Substr "---" in yaml string cause builder crash #82

Closed
urmaul opened this Issue Apr 27, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@urmaul
Copy link

urmaul commented Apr 27, 2016

If you edit any post content and add string like this to meta fileds:

foo: 'bar---baz'

site:build creashes with error like this:

  [Symfony\Component\Yaml\Exception\ParseException]                  
  Malformed inline YAML string ('bar) at line 6 (near "foo: 'bar").

@yosymfony yosymfony self-assigned this Apr 28, 2016

@yosymfony

This comment has been minimized.

Copy link
Member

yosymfony commented Apr 29, 2016

Seems that AttributeParser needs a review. I'm working on that

yosymfony added a commit that referenced this issue May 3, 2016

yosymfony added a commit that referenced this issue May 3, 2016

yosymfony added a commit that referenced this issue May 3, 2016

@yosymfony

This comment has been minimized.

Copy link
Member

yosymfony commented May 3, 2016

Fixed. Thank you

@yosymfony yosymfony closed this May 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment