adolfocampo

adolfocampo

Member Since 4 years ago

0 organizations

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
0
repos

1 contributions in the last year

adolfocampo Most Used Languages
adolfocampo GitHub Stats

0 Pinned

Jun
11
1 week ago
Activity icon
issue

adolfocampo issue PHPOffice/PHPWord

adolfocampo
adolfocampo

Images within a table don't working in html (Shared/Html.php)

Trying to convert thml to word2007 with the following code:

<tbody>
<tr>
<td><img src="https://media.gettyimages.com/photos/female-friend-helping-smiling-male-roommate-while-wearing-earring-in-picture-id1307394290?s=2048x2048" alt="" width="200" height="133"></td>
<td></td>
</tr>
</tbody>
</table>';
\PhpOffice\PhpWord\Shared\Html::addHtml($section, $html, false, false);```

But the html is not rendered to docx.
Activity icon
issue

adolfocampo issue comment PHPOffice/PHPWord

adolfocampo
adolfocampo

Images within a table don't working in html (Shared/Html.php)

Trying to convert thml to word2007 with the following code:

<tbody>
<tr>
<td><img src="https://media.gettyimages.com/photos/female-friend-helping-smiling-male-roommate-while-wearing-earring-in-picture-id1307394290?s=2048x2048" alt="" width="200" height="133"></td>
<td></td>
</tr>
</tbody>
</table>';
\PhpOffice\PhpWord\Shared\Html::addHtml($section, $html, false, false);```

But the html is not rendered to docx.
adolfocampo
adolfocampo

Solved: The problem is that the img tag isn't closed by />

Jun
10
1 week ago
Activity icon
issue

adolfocampo issue PHPOffice/PHPWord

adolfocampo
adolfocampo

Images within a table don't working in html (Shared/Html.php)

Trying to convert thml to word2007 with the following code: $html ='

'; \PhpOffice\PhpWord\Shared\Html::addHtml($section, $html, false, false);

But the html is not rendered to docx.