summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/spacing-behaviour.pngbin0 -> 638 bytes
-rw-r--r--tests/typ/bugs/spacing-behaviour.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/bugs/spacing-behaviour.png b/tests/ref/bugs/spacing-behaviour.png
new file mode 100644
index 00000000..08fcfa73
--- /dev/null
+++ b/tests/ref/bugs/spacing-behaviour.png
Binary files differ
diff --git a/tests/typ/bugs/spacing-behaviour.typ b/tests/typ/bugs/spacing-behaviour.typ
new file mode 100644
index 00000000..a2a30b8a
--- /dev/null
+++ b/tests/typ/bugs/spacing-behaviour.typ
@@ -0,0 +1,9 @@
+// Test that metadata after spacing does not force a new paragraph.
+
+---
+#{
+ h(1em)
+ counter(heading).update(4)
+ [Hello ]
+ counter(heading).display()
+}