Move insertion of extra space to inside extra text, not when adding.
This prevents the space from being added when there is no extra text for the flattening arrays and objects function, and is more flexible (in case this extra text should follow without a space) than an if statement around adding the extra text and a hardcoded space.
parent
d1d4cbe6
Please register or sign in to comment