mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Fix regression in grid tables for wide characters.
In the translation from String to Text, a char-width-sensitive splitAt' was dropped. This commit reinstates it. Closes #7214.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
```
|
||||
% pandoc
|
||||
+------------+----------+------------------+
|
||||
|日本語 | の文字列 | words in english |
|
||||
+------------+----------+------------------+
|
||||
|abc defghij | def | xyz |
|
||||
+------------+----------+------------------+
|
||||
^D
|
||||
<table style="width:60%;">
|
||||
<colgroup>
|
||||
<col style="width: 18%" />
|
||||
<col style="width: 15%" />
|
||||
<col style="width: 26%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="odd">
|
||||
<td>日本語</td>
|
||||
<td>の文字列</td>
|
||||
<td>words in english</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td>abc defghij</td>
|
||||
<td>def</td>
|
||||
<td>xyz</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
```
|
||||
Reference in New Issue
Block a user