pandoc/test/command/8216.md
2022-08-05 13:48:30 +02:00

968 B

Misaligned separators in grid table

% pandoc -f markdown -t html
: Grid Table

+-----------------+:-:+
|Some text        |[text]{.class1 .class2 .class3}|
+-----------------+---+
|Some text        |[text]{.class1 .class2 .class3}|
+-----------------+---+
|Some text        |[text]{.class1 .class2 .class3}|
+-----------------+---+
^D
<table style="width:69%;">
<caption>Grid Table</caption>
<colgroup>
<col style="width: 25%" />
<col style="width: 44%" />
</colgroup>
<tbody>
<tr class="odd">
<td>Some text</td>
<td><span class="class1 class2 class3">text</span></td>
</tr>
<tr class="even">
<td>Some text</td>
<td><span class="class1 class2 class3">text</span></td>
</tr>
<tr class="odd">
<td>Some text</td>
<td><span class="class1 class2 class3">text</span></td>
</tr>
</tbody>
</table>

Missing cell

% pandoc -f markdown -t gfm
+------+
| text |
+------+---+
| text | 1 |
+------+---+
^D
|      |     |
|------|-----|
| text |     |
| text | 1   |