I'm trying to create a <table> element and add it as Html to my document.
In one of the rows I have to add an <img> tag, but I'm unable to do so. Does the library support this functionality?
On document creation I get the following error:
Warning: DOMDocument::loadXML(): Opening and ending tag mismatch
I've tried closing the image tag like this:
<img src="https://i.imgur.com/Pxh2zYA.jpg" alt="" width="15" height="15" />
The warning doesn't show up but I'm unable to open the generated document because it throws an error.
Describe the Bug
I'm trying to create a
<table>
element and add it as Html to my document. In one of the rows I have to add an<img>
tag, but I'm unable to do so. Does the library support this functionality?Steps to Reproduce
Expected Behavior
I expected the image to show up on the row.
Current Behavior
On document creation I get the following error:
Warning: DOMDocument::loadXML(): Opening and ending tag mismatch
I've tried closing the image tag like this:<img src="https://i.imgur.com/Pxh2zYA.jpg" alt="" width="15" height="15" />
The warning doesn't show up but I'm unable to open the generated document because it throws an error.Context