-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
YAML parser: No Escaping of single quotes before newline? #25379
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
Comments
I can reproduce this, @dbacc Do you want to provide a PR to fix this behaviour ? |
I suggest to not spend any time here. I have a pending patch for #25239 locally which will probably fix this issue too. |
Ok @xabbuh thanks ;) |
@xabbuh can we close this ? |
@Simperfit It would still be good to have this fixed (and if it were by only throwing a more meaningful error when we detect a quoted string that spans multiple lines). |
I've done the error since I do not know how to parse this to make it work, maybe this could be a good thing to do in a other hackathon with multiple people ? (I think to do it I need that someone explain me how it works entirely :p). |
Can you confirm that #33658 will solve this issue? |
… (xabbuh) This PR was merged into the 4.4 branch. Discussion ---------- [Yaml] fix parsing inline YAML spanning multiple lines | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #25239 #25379 #31333 | License | MIT | Doc PR | Commits ------- 85a5c31 fix parsing inline YAML spanning multiple lines
Hi, with the following yaml file
I get the Malformed inline YAML string exception. The file should be valid yaml though.
The text was updated successfully, but these errors were encountered: