mirror of
https://github.com/typst/typst
synced 2025-07-01 17:52:52 +08:00
- Active headers will push empty regions when skipping regions, whereas new_headers may be called from a non-empty region, so we need to finish the region in full. The code separation also makes it all clearer.