fixed: when reading a non-escaped space token we should check whether a delimiter was escaped or not

also a '#' was not tested
This commit is contained in:
2021-03-18 16:26:56 +01:00
parent db5e516564
commit 4119461f8e
2 changed files with 9 additions and 6 deletions

View File

@@ -674,7 +674,7 @@ protected:
if( !is_main_object )
{
str << '{';
print_if(pretty_print, str, '\n');
print_if(pretty_print && (!value.value_object.empty() || (child_spaces && !child_spaces->empty())), str, '\n');
}
bool is_first = true;