Skip to content

Commit

Permalink
Updated DOMPDF to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Feb 25, 2017
1 parent b0e849f commit 22077d4
Show file tree
Hide file tree
Showing 7 changed files with 211 additions and 170 deletions.
1 change: 0 additions & 1 deletion app/Services/ExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public function pageToPdf(Page $page)
{
$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) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"barryvdh/laravel-ide-helper": "^2.2.3",
"barryvdh/laravel-debugbar": "^2.3.2",
"league/flysystem-aws-s3-v3": "^1.0",
"barryvdh/laravel-dompdf": "^0.7",
"barryvdh/laravel-dompdf": "^0.8",
"predis/predis": "^1.1",
"gathercontent/htmldiff": "^0.2.1",
"barryvdh/laravel-snappy": "^0.3.1",
Expand Down
Loading

0 comments on commit 22077d4

Please sign in to comment.