Dan Brown

Updated DOMPDF to latest version

......@@ -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) {
......
......@@ -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",
......
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -13,7 +13,7 @@ return array(
*/
'show_warnings' => false, // Throw an Exception on warnings from dompdf
'orientation' => 'portrait',
'defines' => array(
'defines' => [
/**
* The location of the DOMPDF font directory
*
......@@ -260,7 +260,7 @@ return array(
"DOMPDF_ENABLE_HTML5PARSER" => true,
),
],
);
];
......
@import "reset";
//@import "reset";
@import "variables";
@import "mixins";
@import "html";
......
<div ng-non-bindable>
<h1 id="bkmrk-page-title" class="float left">{{$page->name}}</h1>
<h1 id="bkmrk-page-title">{{$page->name}}</h1>
<div style="clear:left;"></div>
......
......@@ -30,11 +30,5 @@
clear: both;
display: block;
}
.tag-display {
min-width: 0;
max-width: none;
display: none;
}
</style>
@stop
\ No newline at end of file
......