summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7919.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/test/command/7919.md b/test/command/7919.md
new file mode 100644
index 000000000..f7ff9853b
--- /dev/null
+++ b/test/command/7919.md
@@ -0,0 +1,59 @@
+```
+% pandoc -f markdown
+single column table |
+------------------- |
+item 1 |
+item 2 |
+^D
+<table>
+<thead>
+<tr class="header">
+<th>single column table</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>item 1</td>
+</tr>
+<tr class="even">
+<td>item 2</td>
+</tr>
+</tbody>
+</table>
+```
+
+```
+% pandoc -f markdown
+| single column table
+| -------------------
+| item 1
+| item 2
+^D
+<table>
+<thead>
+<tr class="header">
+<th>single column table</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>item 1</td>
+</tr>
+<tr class="even">
+<td>item 2</td>
+</tr>
+</tbody>
+</table>
+```
+
+```
+% pandoc -f markdown
+single column table
+-------------------
+item 1
+item 2
+^D
+<h2 id="single-column-table">single column table</h2>
+<p>item 1 item 2</p>
+```
+