mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
A `#` inside a quoted flow scalar was cut off as a comment, so
`{name: "a} # b", ..., environment: release}` hid the binding. Comments are
now stripped with a quote-aware scan (a quote opens only where a scalar
starts, as in YAML). The reader refuses any line with an unterminated or
multi-line quoted scalar, any flow mapping whose quoted scalars contain
#, {, }, [, ] or a comma, and any flow mapping with an environment or uses
key, which must be block style. ci.yml's matrix rows still read cleanly.
New refusal cases cover the reported mapping, a single-quoted hash, a comma
or bracket in a quoted flow scalar, an unterminated quote, and environment or
uses in any flow mapping.