mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-01 19:57:42 +00:00
The overall table width used `round` while individual column widths (in colSpecListToHtml) used `truncate`, so the table width could exceed the sum of the column widths. Update test goldens. Co-Authored-By: Claude <noreply@anthropic.com>
545 B
545 B
% pandoc
+------------+----------+------------------+
|日本語 | の文字列 | words in english |
+------------+----------+------------------+
|abc defghij | def | xyz |
+------------+----------+------------------+
^D
<table style="width:59%;">
<colgroup>
<col style="width: 18%" />
<col style="width: 15%" />
<col style="width: 26%" />
</colgroup>
<tbody>
<tr>
<td>日本語</td>
<td>の文字列</td>
<td>words in english</td>
</tr>
<tr>
<td>abc defghij</td>
<td>def</td>
<td>xyz</td>
</tr>
</tbody>
</table>