diff options
| author | wznmickey <first@wznmickey.com> | 2024-11-05 03:27:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-05 08:27:25 +0000 |
| commit | ada30cd5b14d97ac5b0bc4893b5bce797b53a3e9 (patch) | |
| tree | a7b91b1ff22c1fae2d12af0da936e991bd7ceb2f /tests | |
| parent | 5b11db0ef2b946122e2221ec9818074ab2efab7c (diff) | |
Fix unstoppable empty footnote loop (#5354) (#5364)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5354-footnote-empty-frame-infinite-loop.png | bin | 0 -> 2342 bytes | |||
| -rw-r--r-- | tests/suite/layout/flow/footnote.typ | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/issue-5354-footnote-empty-frame-infinite-loop.png b/tests/ref/issue-5354-footnote-empty-frame-infinite-loop.png Binary files differnew file mode 100644 index 00000000..acad56b6 --- /dev/null +++ b/tests/ref/issue-5354-footnote-empty-frame-infinite-loop.png diff --git a/tests/suite/layout/flow/footnote.typ b/tests/suite/layout/flow/footnote.typ index 3230c3da..63602351 100644 --- a/tests/suite/layout/flow/footnote.typ +++ b/tests/suite/layout/flow/footnote.typ @@ -286,3 +286,8 @@ B #footnote[b] --- issue-4454-footnote-ref-numbering --- // Test that footnote references are numbered correctly. A #footnote(numbering: "*")[B]<fn>, C @fn, D @fn, E @fn. + +--- issue-5354-footnote-empty-frame-infinite-loop --- +// Test whether an empty footnote would cause infinite loop +#show footnote.entry: it => {} +#lorem(3) #footnote[A footnote] |
