mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 20:07:22 +00:00
a0bc3a574e
Multiline rows occur only when the *first* cell is empty; we were previously treating lines with *any* empty cell as row continuations. Closes #10093. In addition, we no longer wrap multiline cells in Para if they can be represented as Plain. This is consistent with docutils behavior.
540 B
540 B
% pandoc -f rst
========== ====
Function 1
========== ====
a yes
b
========== ====
^D
<table>
<thead>
<tr>
<th>Function</th>
<th>1</th>
</tr>
</thead>
<tbody>
<tr>
<td>a</td>
<td>yes</td>
</tr>
<tr>
<td>b</td>
<td></td>
</tr>
</tbody>
</table>
% pandoc -f rst
========== ====
Function 1
========== ====
a yes
& no
========== ====
^D
<table>
<thead>
<tr>
<th>Function</th>
<th>1</th>
</tr>
</thead>
<tbody>
<tr>
<td>a</td>
<td>yes & no</td>
</tr>
</tbody>
</table>