Updated DOMPDF to latest version

This commit is contained in:
Dan Brown
2017-02-25 14:59:56 +00:00
parent b0e849f413
commit 22077d4181
7 changed files with 213 additions and 172 deletions

View File

@ -39,7 +39,6 @@ class ExportService
{
$cssContent = file_get_contents(public_path('/css/export-styles.css'));
$pageHtml = view('pages/pdf', ['page' => $page, 'pageContent' => $this->entityRepo->renderPage($page), 'css' => $cssContent])->render();
// return $pageHtml;
$useWKHTML = config('snappy.pdf.binary') !== false;
$containedHtml = $this->containHtml($pageHtml);
if ($useWKHTML) {