We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$works = "x<figure class='image'><img src='https://http.cat/100'></figure>";; $doesNotWork = "<figure class='image'><img src='https://http.cat/100'></figure>"; $dom = new Dompdf\Dompdf(['isRemoteEnabled' => true]); $dom->loadHtml($works); $dom->render(); $dom->output(); $dom->loadHtml($doesNotWork); $dom->render(); $dom->output();
The text was updated successfully, but these errors were encountered:
Does appear to be the case. I don't see what's causing the issue on initial look, so I'll have to spend some more time with it.
To render the element, you don't have to precede with content. Surrounding it with any other element does the trick.
Sorry, something went wrong.
Im doing this for now
if(preg_match('/^\s*<figure/i' ,$template) === 1) { $template = '<span></span>'.$template; }
No branches or pull requests
The text was updated successfully, but these errors were encountered: