mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
d820620ccd
Previously we assumed that every table took up the full text width. Now we read the text width from the document's sectPr. Closes #9837. Closes #11147.
307 B
307 B
% pandoc command/9002.docx -t html
^D
<table style="width:40%;">
<caption><p>This is my table!</p></caption>
<colgroup>
<col style="width: 20%" />
<col style="width: 20%" />
</colgroup>
<thead>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>See Table 1 This is my table!</p>