mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Eradicate spaces from tileset metadata JSON fields
This commit is contained in:
+5
-1
@@ -29,7 +29,11 @@ void json_writer::json_adjust() {
|
||||
nospace = false;
|
||||
state[state.size() - 1] = JSON_WRITE_HASH_KEY;
|
||||
} else if (state[state.size() - 1] == JSON_WRITE_HASH_KEY) {
|
||||
adds(": ");
|
||||
adds(":");
|
||||
if (!nospace) {
|
||||
addc(' ');
|
||||
nospace = false;
|
||||
}
|
||||
state[state.size() - 1] = JSON_WRITE_HASH_VALUE;
|
||||
} else if (state[state.size() - 1] == JSON_WRITE_HASH_VALUE) {
|
||||
if (wantnl) {
|
||||
|
||||
Reference in New Issue
Block a user