spipu/html2pdf

Problem with draw & circle

wptechnology opened this issue · 1 comments

Hello,

In a PDF generation, I've got the following code, which is inside a div:



I have tried the normal <circle .... /> syntax, tried also a <circle ...> and then the one without closing tag, found in one of you example.

I always get the following error :
Fatal error: Uncaught Spipu\Html2Pdf\Exception\HtmlParsingException: The asked [circle] tag is not in a [DRAW] tag

Answering my own question : crazy thing, a draw tag MUST NOT been inserted into div tags !!! Not really HTML compliant :/