You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, I'm not sure it's possible. YAML is a very complex format (and possibly insecure, see CVE-2013-0156), so I would not dare to parse it or use Ruby's YAML parser(s). The scanner needs to stay a lexical scanner, trying to mimic the understanding of YAML structure through heuristics. We should improve these heuristics, but we will not reach a quality where everything works.
It's great to start collecting example code that produces unacceptable results; this is most helpful at the moment.
As seen in this ray: http://coderay.rubychan.de/rays/7788
the YAML scanner misinterprets the first key in an object stored in a list.
It interprets the entire first line
(a: 1)
asstring/content
, in every following line in the object, he correctly parseskey: string/content
.The text was updated successfully, but these errors were encountered: