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 0c096ac commit c7b3a70Copy full SHA for c7b3a70
ext/json/ext/generator/generator.c
@@ -871,6 +871,7 @@ static FBuffer *cState_prepare_buffer(VALUE self)
871
} else {
872
state->object_delim2 = fbuffer_alloc(16);
873
}
874
+ if (state->space_before) fbuffer_append(state->object_delim2, state->space_before, state->space_before_len);
875
fbuffer_append_char(state->object_delim2, ':');
876
if (state->space) fbuffer_append(state->object_delim2, state->space, state->space_len);
877
0 commit comments