ObeoNetwork / M2Doc

The M2Doc technology enables the generation of Office Open XML documents from models.
http://obeonetwork.github.io/M2Doc/
Eclipse Public License 2.0
38 stars 22 forks source link

MCell starting with a MPragraph leaves an empty paragraph at the begining of the cell #517

Closed ylussaud closed 8 months ago

ylussaud commented 8 months ago

This can be reproduced witht he given HTML code and the HTML service:

<table>
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<tbody>
<tr>
<th><p class="tableblock">  Left cell Example text 1:</p></th>
<td><p class="tableblock">  Right cell Example text 1</p></td>
</tr>
<tr>
<th><p class="tableblock">  Left cell text 2:</p></th>
<td><p class="tableblock">  Right cell text 2</p></td>
</tr>
<tr>
<th><p class="tableblock">  Left cell Example text 3:</p></th>
<td><p class="tableblock">  Right cell Example text 3</p></td>
</tr>
<tr>
<th><p class="tableblock">  Left cell text 4:</p></th>
<td><p class="tableblock">  Right cell text 4</p></td>
</tr>
<tr>
<th><p class="tableblock">  Left cell Example text 5:</p></th>
<td><p class="tableblock">  Right cell Example text 5</p></td>
</tr>
<tr>
<th><p class="tableblock">  Left cell text 6:</p></th>
<td><p class="tableblock">  Right cell text 6</p></td>
</tr>
</tbody>
</table>