mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-30 05:37:00 -06:00
Every path that adds a macro runs macros::check, and an xlsx save of a macro that skipped it fails (the stash refuses the oversized item). A JSON save wrote such a macro instead, and the next open dropped it with a warning. json_bytes now checks each macro first, so the save fails in either format with the check's message and the macro stays in the open workbook. Tests that build hostile JSON files write them directly.