Update samples/Pdf/21a_Pdf.php
Co-authored-by: Adrien Crivelli <adrien.crivelli@gmail.com>
This commit is contained in:
parent
9ba8db761b
commit
7e87a9f8d8
|
@ -25,7 +25,7 @@ background-color: yellow;
|
|||
|
||||
EOF;
|
||||
|
||||
return preg_replace('@</head>@', "$newstyle</head>", $html);
|
||||
return preg_replace('~</head>~', "$newstyle</head>", $html);
|
||||
}
|
||||
|
||||
$helper->log('Write to Dompdf');
|
||||
|
|
Loading…
Reference in New Issue