Add --print-background flag to pagedjs-cli URL generation
All checks were successful
Deploy / deploy (push) Successful in 10s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-05 09:12:57 +01:00
parent 3ade5bca9e
commit 3d386f4c66

View file

@ -56,6 +56,7 @@ class PdfGenerator
$cmd .= escapeshellcmd($this->config['pagedjs_bin']);
$cmd .= ' ' . escapeshellarg($url);
$cmd .= ' -o ' . escapeshellarg($pdfFile);
$cmd .= ' --print-background';
if (!empty($options['timeout'])) {
$cmd .= ' --timeout ' . (int)$options['timeout'];