summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-12-07 17:37:18 +0100
committerLaurenz <laurmaedje@gmail.com>2023-12-07 17:37:18 +0100
commit0813e05a6007795f9808a53da51f4bfa3c9df39a (patch)
tree9685ff0bcca96f0164131f89ff722b92518865f3
parent3e96f5f75fe4a63d868365bda91723b59c138814 (diff)
Add regression test for #1597
-rw-r--r--tests/ref/bugs/1597-cite-footnote.pngbin0 -> 4387 bytes
-rw-r--r--tests/typ/bugs/1597-cite-footnote.typ12
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/bugs/1597-cite-footnote.png b/tests/ref/bugs/1597-cite-footnote.png
new file mode 100644
index 00000000..c2e219f2
--- /dev/null
+++ b/tests/ref/bugs/1597-cite-footnote.png
Binary files differ
diff --git a/tests/typ/bugs/1597-cite-footnote.typ b/tests/typ/bugs/1597-cite-footnote.typ
new file mode 100644
index 00000000..394f7ea9
--- /dev/null
+++ b/tests/typ/bugs/1597-cite-footnote.typ
@@ -0,0 +1,12 @@
+// Tests that when a citation footnote is pushed to next page, things still
+// work as expected.
+//
+// Issue: https://github.com/typst/typst/issues/1597
+
+---
+#set page(height: 60pt)
+#lorem(4)
+
+#footnote[@netwok]
+#show bibliography: none
+#bibliography("/files/works.bib")