diff --git a/include/openspace/documentation/verifier.inl b/include/openspace/documentation/verifier.inl index 40a623cd54..dab3c5d699 100644 --- a/include/openspace/documentation/verifier.inl +++ b/include/openspace/documentation/verifier.inl @@ -404,12 +404,12 @@ std::string InListVerifier::documentation() const { std::copy( values.begin(), values.end(), - std::ostream_iterator(s, ",") + std::ostream_iterator(s, ", ") ); std::string joined = s.str(); - // We need to remove a trailing ',' at the end of the string - result += joined.substr(0, joined.size() - 1); + // We need to remove a trailing ',' and whitespace at the end of the string + result += joined.substr(0, joined.size() - 2); result += " }"; return result;