summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-12-08 13:35:54 -0300
committerGitHub <noreply@github.com>2024-12-08 16:35:54 +0000
commit62567fc91e2d58d5d12457bbeddc5d7950d7c570 (patch)
treedd16f50721ad30014e5889a888fa983255710f16 /tests
parente6de044b1da1e1c801a69149d757bada7154a83b (diff)
Fix multiple footnotes in footnote entry (#5545)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5256-multiple-footnotes-in-footnote.pngbin0 -> 796 bytes
-rw-r--r--tests/suite/layout/flow/footnote.typ4
2 files changed, 4 insertions, 0 deletions
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
--- /dev/null
+++ b/tests/ref/issue-5256-multiple-footnotes-in-footnote.png
Binary files 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]<fn>, 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]]