mustangostang / spyc

A simple YAML loader/dumper class for PHP
MIT License
701 stars 206 forks source link

End line comments with single quote inside #70

Open MedShake opened 6 years ago

MedShake commented 6 years ago

Hi ! An end-of-line comment in a yaml file that contains a single quotation mark poses a problem when it is transformed into a php array. You can test this:

myYamlForm:

PHP array : ['myYamlForm'][0] => 'modeAccess' ['myYamlForm'][1] => 'speedAccess #15 Im bad'