mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Docx reader: handle case where non-header rows come before header rows.
In this case we'll treat them all as the header in order to preserve the order. Added test case for #11833.
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,40 @@
|
||||
```
|
||||
% pandoc command/11833.docx -t html
|
||||
^D
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 39%" />
|
||||
<col style="width: 9%" />
|
||||
<col style="width: 35%" />
|
||||
<col style="width: 15%" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>VENDOR SERVICE MODEL</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Question</th>
|
||||
<th>Response</th>
|
||||
<th>Comments</th>
|
||||
<th>Evidence Reference</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>question1</td>
|
||||
<td>response1</td>
|
||||
<td>comment1</td>
|
||||
<td>evidence1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>question 2</td>
|
||||
<td>response 2</td>
|
||||
<td>comment 2</td>
|
||||
<td>evidence 2</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
```
|
||||
Reference in New Issue
Block a user