Files
pandoc/test/command/8659.md
T
John MacFarlane 7cf4d41fe5 Use compactifyTable for tables produced by all readers.
Remove old ad hoc `paraToPlain` at the table cell level.

This should ensure that we don't get tables that mix
Plain and Para. Such tables tend to look funny when
rendered in docx and other formats.

Closes #11864.
2026-09-12 20:02:41 -07:00

978 B

A single pipe is parsed as an empty table

% pandoc -f org -t html
|
^D
<table>
<tbody>
<tr>
</tr>
</tbody>
</table>

Accepts an empty org table within a grid table cell

The misaligned pipe in the first row is treated as an empty table.

% pandoc -f org -t html
+-----+-----+-----+-----------+
|     |     |     |         |
+:====+=====+====:+==========:+
| a   |  b  | c   | d         |
+-----+-----+-----+-----------+
^D
<table style="width:42%;">
<colgroup>
<col style="width: 8%" />
<col style="width: 8%" />
<col style="width: 8%" />
<col style="width: 16%" />
</colgroup>
<thead>
<tr>
<th style="text-align: left;"></th>
<th></th>
<th style="text-align: right;"></th>
<th style="text-align: right;"><table>
<tbody>
<tr>
</tr>
</tbody>
</table></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;"><p>a</p></td>
<td><p>b</p></td>
<td style="text-align: right;"><p>c</p></td>
<td style="text-align: right;"><p>d</p></td>
</tr>
</tbody>
</table>