diff --git a/radio/src/storage/yaml/yaml_parser.cpp b/radio/src/storage/yaml/yaml_parser.cpp index 69794505f..c782f2329 100644 --- a/radio/src/storage/yaml/yaml_parser.cpp +++ b/radio/src/storage/yaml/yaml_parser.cpp @@ -148,7 +148,7 @@ YamlParser::parse(const char* buffer, unsigned int size) state = ps_AttrSP; break; } - if (*c != ':') + if ((*c != ':') && (*c != '\r') && (*c != '\n')) CONCAT_STR(scratch_buf, scratch_len, *c); // trap case ps_AttrSP: