aboutsummaryrefslogtreecommitdiff
path: root/test/command/10848.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-05-15 15:02:37 -0700
committerJohn MacFarlane <[email protected]>2025-05-15 15:02:37 -0700
commit5af4c7024c07e1972bec86547cf007ffbf05b9f7 (patch)
tree231e4f993e859bbe3ab10fa9b7556d4c0a018e31 /test/command/10848.md
parentadc05a6cd42b10712c6896e9de220d99375593be (diff)
Add failing test for complex grid tables with row/colspans.
See #10848.
Diffstat (limited to 'test/command/10848.md')
-rw-r--r--test/command/10848.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/command/10848.md b/test/command/10848.md
index ef07b5e7c..e572aad8e 100644
--- a/test/command/10848.md
+++ b/test/command/10848.md
@@ -25,3 +25,30 @@
| D | E | G |
+-------+-------+---+
```
+
+```
+% pandoc -f html -t markdown
+<table>
+<tr>
+<td colspan="2">A</td>
+<td rowspan="2">J</td>
+<td colspan="2">F</td>
+</tr>
+<tr>
+<td rowspan="2">C</td>
+<td>B</td>
+<td rowspan="2" colspan="2">H</td>
+</tr>
+<tr>
+<td colspan="2">D</td>
+</tr>
+</table>
+^D
++-------+---+-------+
+| A | J | F |
++---+---+ +-------+
+| C | B | | H |
+| +---+---+ |
+| | D | |
++---+-------+-------+
+```