]> BookStack Code Mirror - bookstack/blobdiff - app/Config/dompdf.php
Fixed OIDC Logout
[bookstack] / app / Config / dompdf.php
index ac206a0ced25cd27294028fce7de9fb91fc04d79..09dd91bcc3ca762b3a340cefb579eaa8faa6c4a2 100644 (file)
@@ -7,6 +7,7 @@
  * Configuration should be altered via the `.env` file or environment variables.
  * Do not edit this file unless you're happy to maintain any changes yourself.
  */
+
 $dompdfPaperSizeMap = [
     'a4'     => 'a4',
     'letter' => 'letter',
@@ -77,7 +78,7 @@ return [
         'chroot' => realpath(public_path()),
 
         /**
-         * Protocol whitelist
+         * Protocol whitelist.
          *
          * Protocols and PHP wrappers allowed in URIs, and the validation rules
          * that determine if a resouce may be loaded. Full support is not guaranteed
@@ -87,9 +88,9 @@ return [
          * @var array
          */
         'allowed_protocols' => [
-            "file://" => ["rules" => []],
-            "http://" => ["rules" => []],
-            "https://" => ["rules" => []]
+            'file://'  => ['rules' => []],
+            'http://'  => ['rules' => []],
+            'https://' => ['rules' => []],
         ],
 
         /**
@@ -173,7 +174,7 @@ return [
          *
          * @var string
          */
-        'default_paper_orientation' => "portrait",
+        'default_paper_orientation' => 'portrait',
 
         /**
          * The default font family.
@@ -277,12 +278,13 @@ return [
         'enable_css_float' => true,
 
         /**
-         * Use the HTML5 Lib parser
+         * Use the HTML5 Lib parser.
          *
          * @deprecated This feature is now always on in dompdf 2.x
+         *
          * @var bool
          */
-        "enable_html5_parser" => true,
+        'enable_html5_parser' => true,
     ],
 
 ];