We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c038e08 commit 964affdCopy full SHA for 964affd
src/lib_json/json_writer.cpp
@@ -649,7 +649,7 @@ void StyledStreamWriter::writeCommentBeforeValue(const Value& root) {
649
650
void StyledStreamWriter::writeCommentAfterValueOnSameLine(const Value& root) {
651
if (root.hasComment(commentAfterOnSameLine))
652
- *document_ << root.getComment(commentAfterOnSameLine);
+ *document_ << ' ' << root.getComment(commentAfterOnSameLine);
653
654
if (root.hasComment(commentAfter)) {
655
writeIndent();
0 commit comments