summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-01-20 10:19:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2024-01-20 10:19:32 -0800
commitf43ffabd3c598f7154cd101069e7e77947f5676d (patch)
tree8a0f9977d136e3ff4899074f53dfb3fa0958920f /test/command
parentc2f7f5c63fe223f07033cfc686cb258508970301 (diff)
LaTeX writer: create valid table even when table is empty.
Closes #9350.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/9350.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/9350.md b/test/command/9350.md
new file mode 100644
index 000000000..d641f8b76
--- /dev/null
+++ b/test/command/9350.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f html -t latex
+<table><tbody><tr></tr></tbody></table>
+^D
+\begin{longtable}[]{@{}l@{}}
+\toprule\noalign{}
+\endhead
+\bottomrule\noalign{}
+\endlastfoot
+ \\
+\end{longtable}
+```