summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-12 12:32:53 +0100
committerGitHub <noreply@github.com>2024-03-12 11:32:53 +0000
commit0fef85706451331b00d09dc85a77a812c779ce6c (patch)
tree0689d5565d2a2f30134c3233f396a5d4814a28b8 /tests
parent1d027ff6d22a2961d5078aa7e1abaa2710a1fb0e (diff)
Fix `Behaviour` of spacing (#3634)
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()
+}