From 62567fc91e2d58d5d12457bbeddc5d7950d7c570 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:35:54 -0300 Subject: Fix multiple footnotes in footnote entry (#5545) --- tests/ref/issue-5256-multiple-footnotes-in-footnote.png | Bin 0 -> 796 bytes tests/suite/layout/flow/footnote.typ | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 tests/ref/issue-5256-multiple-footnotes-in-footnote.png (limited to 'tests') diff --git a/tests/ref/issue-5256-multiple-footnotes-in-footnote.png b/tests/ref/issue-5256-multiple-footnotes-in-footnote.png new file mode 100644 index 00000000..f9c17335 Binary files /dev/null and b/tests/ref/issue-5256-multiple-footnotes-in-footnote.png differ diff --git a/tests/suite/layout/flow/footnote.typ b/tests/suite/layout/flow/footnote.typ index 63602351..b549fbca 100644 --- a/tests/suite/layout/flow/footnote.typ +++ b/tests/suite/layout/flow/footnote.typ @@ -291,3 +291,7 @@ A #footnote(numbering: "*")[B], C @fn, D @fn, E @fn. // Test whether an empty footnote would cause infinite loop #show footnote.entry: it => {} #lorem(3) #footnote[A footnote] + +--- issue-5256-multiple-footnotes-in-footnote --- +// Test whether all footnotes inside another footnote are listed. +#footnote[#footnote[A]#footnote[B]#footnote[C]] -- cgit v1.2.3