aboutsummaryrefslogtreecommitdiff
path: root/test/jats-reader.xml
diff options
context:
space:
mode:
authorNoah Malmed <[email protected]>2023-04-05 15:37:22 -0400
committerGitHub <[email protected]>2023-04-05 12:37:22 -0700
commit0353e11e27c08d211cea13bbad1ad968845dc29e (patch)
tree42ffc1a8f40f011ec4b4469b482bb623be45b5b5 /test/jats-reader.xml
parent9f718da38a75cc703a32c9f0818770fcfd2ac8f8 (diff)
Add rowspan, colspan and alignment to cells in jats table reader (#8726)
Partially addresses #8408
Diffstat (limited to 'test/jats-reader.xml')
-rw-r--r--test/jats-reader.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/test/jats-reader.xml b/test/jats-reader.xml
index f33cb9ab3..6dbc2c3d9 100644
--- a/test/jats-reader.xml
+++ b/test/jats-reader.xml
@@ -1150,6 +1150,50 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
</tbody>
</table>
</sec>
+ <sec id="table-with-spans-and-alignments">
+ <title>Tables with spans and alignments</title>
+ <table>
+ <col align="left" />
+ <col align="left" />
+ <col align="left" />
+ <thead>
+ <tr>
+ <td colspan="2">
+ <p>1</p>
+ </td>
+ <td align="right">
+ <p>2</p>
+ </td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td colspan="2">
+ <p>1</p>
+ </td>
+ <td align="left">
+ <p>2</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2">
+ <p>4</p>
+ </td>
+ <td>
+ <p>5</p>
+ </td>
+ <td>
+ <p>6</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <p>7</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </sec>
<sec id="empty-tables">
<title>Empty Tables</title>
<p>This section should be empty.</p>