mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 12:57:09 -06:00
A TOC whose heading isn't a TOCHeading is written with an empty heading paragraph inside the control. Keeping the control around it on reading left that paragraph non-empty, so each save and Update Table added a blank line (toc_menu_offers_update_field_after_save_and_reopen, #2182). The reader now compares against the TOC the writer would actually wrap (written_toc_span), which also keeps the original control when another block control covers the TOC heading.