aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-05 11:57:31 -0700
committerJohn MacFarlane <[email protected]>2023-08-05 11:57:31 -0700
commit0beab6345f86d94414f87bb4192b54157a424785 (patch)
tree41f0963d703b0e3e85f25291614bfbcb0bd8f522 /test/command
parent08bef384911ecb166501af7593c6e87708480ade (diff)
Add test for #8984.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8984.md68
1 files changed, 68 insertions, 0 deletions
diff --git a/test/command/8984.md b/test/command/8984.md
new file mode 100644
index 000000000..ff8b7172f
--- /dev/null
+++ b/test/command/8984.md
@@ -0,0 +1,68 @@
+```
+% pandoc -f html -t native
+<table>
+ <tr>
+ <th colspan="2">a</th>
+ <td>b</td>
+ </tr>
+ <tr>
+ <th>c</th>
+ <th>d</th>
+ <td>e</td>
+ </tr>
+</table>
+^D
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 2)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 2)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
+
+```