Fixing encoding a bit for space.

This commit is contained in:
Yaro Kasear 2026-01-09 08:45:38 -06:00
parent 2993bc400a
commit 62629c6a3d
2 changed files with 2 additions and 583 deletions

View file

@ -1098,7 +1098,7 @@ function initGridWidget(root, opts = {}) {
cellSize: cellSize, cellSize: cellSize,
shapes: stripCaches(shapes) shapes: stripCaches(shapes)
}; };
const blob = new Blob([JSON.stringify(payload, null, 2)], { type: 'application/json' }); const blob = new Blob([JSON.stringify(payload)], { type: 'application/json' });
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
const a = document.createElement('a'); const a = document.createElement('a');
a.href = url; a.href = url;

File diff suppressed because one or more lines are too long