fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

Allow double quotation marks in plain scalars #253

Closed fktn-k closed 10 months ago

fktn-k commented 10 months ago

According to the YAML spec, double quotation marks in a plain scalar are allowed. link.
However, fkYAML mistakingly throws an exception against inputs which include such scalars like:

foo: This is "Bar".

So, this PR has fixed the issue and the fix has also been tested by the modified test suite.


Pull Request Checklist

Read the CONTRIBUTING.md file for detailed information.

Please don't

coveralls commented 10 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 2f589b86a948bc744d0c60779a50f89ff75395ad on bugfix/allow_double_quotes_in_plain_scalars into 4892ae25d3059d85a49c3c12ce17267abdb06fe5 on develop.