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

HTML service when importing an image after a table the image in not inserted. #514

Closed ylussaud closed 9 months ago

ylussaud commented 9 months ago

The following HTML body doesn't insert the image:

<table>
    <tr>
        <td>Titre colonne 1</td>
        <td>Titre colonne 2</td>
        <td>Titre colonne 3</td>
        <td>Titre colonne 4</td>
        <td>Titre colonne 5</td>
    </tr>
    <tr>
        <td>cell 1.1</td>
        <td>cell 1.2</td>
        <td>cell 1.3</td>
        <td>cell 1.4</td>
        <td>cell 1.5</td>
    </tr>
    <tr>
        <td>cell 2.1</td>
        <td>cell 2.2</td>
        <td>cell 2.3</td>
        <td>cell 2.4</td>
        <td>cell 2.5</td>
    </tr>
    <tr>
        <td>cell 3.1</td>
        <td>cell 3.2</td>
        <td>cell 3.3</td>
        <td>cell 3.4</td>
        <td>cell 3.5</td>
    </tr>
    <tr>
        <td>cell 4.1</td>
        <td>cell 4.2</td>
        <td>cell 4.3</td>
        <td>cell 4.4</td>
        <td>cell 4.5</td>
    </tr>
</table>
<br/><img src="Mona_Lisa.jpg"><br/><br/>

It has something to do with the break between the table and the image.