mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
The flow layouts footnotes twice in some cases, which messed up the Vt's locator state. Typically, we use `thing.measure` instead of `thing.layout` to prevent side effects, but in this case it was simpler to just undo the modification. A future layout engine rewrite should try to make this kind of error harder to make. Fixes #1597