Showing
7 changed files
with
7 additions
and
14 deletions
| ... | @@ -39,7 +39,6 @@ class ExportService | ... | @@ -39,7 +39,6 @@ class ExportService |
| 39 | { | 39 | { |
| 40 | $cssContent = file_get_contents(public_path('/css/export-styles.css')); | 40 | $cssContent = file_get_contents(public_path('/css/export-styles.css')); |
| 41 | $pageHtml = view('pages/pdf', ['page' => $page, 'pageContent' => $this->entityRepo->renderPage($page), 'css' => $cssContent])->render(); | 41 | $pageHtml = view('pages/pdf', ['page' => $page, 'pageContent' => $this->entityRepo->renderPage($page), 'css' => $cssContent])->render(); |
| 42 | -// return $pageHtml; | ||
| 43 | $useWKHTML = config('snappy.pdf.binary') !== false; | 42 | $useWKHTML = config('snappy.pdf.binary') !== false; |
| 44 | $containedHtml = $this->containHtml($pageHtml); | 43 | $containedHtml = $this->containHtml($pageHtml); |
| 45 | if ($useWKHTML) { | 44 | if ($useWKHTML) { | ... | ... |
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| 13 | "barryvdh/laravel-ide-helper": "^2.2.3", | 13 | "barryvdh/laravel-ide-helper": "^2.2.3", |
| 14 | "barryvdh/laravel-debugbar": "^2.3.2", | 14 | "barryvdh/laravel-debugbar": "^2.3.2", |
| 15 | "league/flysystem-aws-s3-v3": "^1.0", | 15 | "league/flysystem-aws-s3-v3": "^1.0", |
| 16 | - "barryvdh/laravel-dompdf": "^0.7", | 16 | + "barryvdh/laravel-dompdf": "^0.8", |
| 17 | "predis/predis": "^1.1", | 17 | "predis/predis": "^1.1", |
| 18 | "gathercontent/htmldiff": "^0.2.1", | 18 | "gathercontent/htmldiff": "^0.2.1", |
| 19 | "barryvdh/laravel-snappy": "^0.3.1", | 19 | "barryvdh/laravel-snappy": "^0.3.1", | ... | ... |
This diff is collapsed.
Click to expand it.
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -return array( | 3 | +return [ |
| 4 | 4 | ||
| 5 | /* | 5 | /* |
| 6 | |-------------------------------------------------------------------------- | 6 | |-------------------------------------------------------------------------- |
| ... | @@ -13,7 +13,7 @@ return array( | ... | @@ -13,7 +13,7 @@ return array( |
| 13 | */ | 13 | */ |
| 14 | 'show_warnings' => false, // Throw an Exception on warnings from dompdf | 14 | 'show_warnings' => false, // Throw an Exception on warnings from dompdf |
| 15 | 'orientation' => 'portrait', | 15 | 'orientation' => 'portrait', |
| 16 | - 'defines' => array( | 16 | + 'defines' => [ |
| 17 | /** | 17 | /** |
| 18 | * The location of the DOMPDF font directory | 18 | * The location of the DOMPDF font directory |
| 19 | * | 19 | * |
| ... | @@ -260,7 +260,7 @@ return array( | ... | @@ -260,7 +260,7 @@ return array( |
| 260 | "DOMPDF_ENABLE_HTML5PARSER" => true, | 260 | "DOMPDF_ENABLE_HTML5PARSER" => true, |
| 261 | 261 | ||
| 262 | 262 | ||
| 263 | - ), | 263 | + ], |
| 264 | 264 | ||
| 265 | 265 | ||
| 266 | -); | 266 | +]; | ... | ... |
| ... | @@ -30,11 +30,5 @@ | ... | @@ -30,11 +30,5 @@ |
| 30 | clear: both; | 30 | clear: both; |
| 31 | display: block; | 31 | display: block; |
| 32 | } | 32 | } |
| 33 | - | ||
| 34 | - .tag-display { | ||
| 35 | - min-width: 0; | ||
| 36 | - max-width: none; | ||
| 37 | - display: none; | ||
| 38 | - } | ||
| 39 | </style> | 33 | </style> |
| 40 | @stop | 34 | @stop |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment