aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-06-23 08:27:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-06-23 08:27:19 -0700
commit90b2c5a5e43794502343866e98554982b649f692 (patch)
tree5516b6de6684d44c2da94ef461300a51103acb18 /test/command
parentee782ccfecfc4acd5482de80847e9714911bdddd (diff)
downloadpandoc-90b2c5a5e43794502343866e98554982b649f692.tar.gz
Add test for #6481.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6481.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/command/6481.md b/test/command/6481.md
new file mode 100644
index 000000000..06b64605c
--- /dev/null
+++ b/test/command/6481.md
@@ -0,0 +1,38 @@
+```
+% pandoc -t html5
+::: {.div-class}
++-------+-----+-----+-------------------------------------------------+
+| Col 1 | Col | Col | Col 4 |
+| | 2 | 3 | |
++:=====:+:===:+:===:+:================================================+
+| High | Med | Med | Some description of something. |
++-------+-----+-----+-------------------------------------------------+
+:::
+^D
+<div class="div-class">
+<table style="width:97%;">
+<colgroup>
+<col style="width: 11%" />
+<col style="width: 8%" />
+<col style="width: 8%" />
+<col style="width: 69%" />
+</colgroup>
+<thead>
+<tr class="header">
+<th style="text-align: center;">Col 1</th>
+<th style="text-align: center;">Col 2</th>
+<th style="text-align: center;">Col 3</th>
+<th style="text-align: left;">Col 4</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td style="text-align: center;">High</td>
+<td style="text-align: center;">Med</td>
+<td style="text-align: center;">Med</td>
+<td style="text-align: left;">Some description of something.</td>
+</tr>
+</tbody>
+</table>
+</div>
+```