Add --print-background flag to pagedjs-cli URL generation
All checks were successful
Deploy / deploy (push) Successful in 10s
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:
parent
3ade5bca9e
commit
3d386f4c66
1 changed files with 1 additions and 0 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue