summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-06-12 17:48:30 +0200
committerLaurenz <laurmaedje@gmail.com>2023-06-12 17:48:30 +0200
commitc5cdbaeaf84bbd68b4ba18979c796f4f0f0f7cd7 (patch)
tree9446682df151f977c67a04f57aaa823ee58cc123 /tests/typ/bugs
parent6720d8c3017af787b8dce42e9fa15468f281629d (diff)
Fix bug with extra table lines
Fixes #183
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/table-lines.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/bugs/table-lines.typ b/tests/typ/bugs/table-lines.typ
new file mode 100644
index 00000000..7e954012
--- /dev/null
+++ b/tests/typ/bugs/table-lines.typ
@@ -0,0 +1,10 @@
+// Ensure no empty lines before a table that doesn't fit into the first page.
+
+---
+#set page(height: 50pt)
+
+Hello
+#table(
+ columns: 4,
+ [1], [2], [3], [4]
+)