diff options
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] |
