Search code examples
laraveldompdfalpine-linux

When I use dompdf in alpine I get a blank image


I use dompdf in Laravel for saving pdf.

I've used it well in the past.

A blank screen appears in alpine linux and php8 environments.

For reference, the version of alpine linux is 3.15.

Does anyone have the same problem as me?


Solution

  • I solved it by changing the value of html5 parser enable to false.