Some of the strings used for the YAML diagnostic remark outputs can be parsed as raw string values in YAML, but many cannot (i.e. anything that has a ':' character, as many of the vectorizer outputs do). Quoting these strings is necessary: otherwise they won't parse correctly. We don't want everything to be a quoted string: numbers should be numbers, etc. but we do need to quote where necessary. This has the side effect of preserving leading/trailing spaces in the output strings, which I think also makes sense.
Details
Details
Diff Detail
Diff Detail