diff --git a/src/dasharray_parser.cpp b/src/dasharray_parser.cpp index 18f8a7b76..c3191caaa 100644 --- a/src/dasharray_parser.cpp +++ b/src/dasharray_parser.cpp @@ -70,7 +70,7 @@ bool parse_dasharray(std::string const& value, dash_array& dash) std::vector buf; auto first = value.begin(); auto last = value.end(); - bool r = x3::phrase_parse(first, last, (double_ % no_skip[char_(", ")] | "none"), space, buf); + bool r = x3::phrase_parse(first, last, (double_ % -char_(',') | "none"), space, buf); if (r && first == last) { return setup_dashes(buf, dash);