mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
LaTeX writer: create valid table even when table is empty.
Closes #9350.
This commit is contained in:
@@ -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}
|
||||
```
|
||||
Reference in New Issue
Block a user