Browse Source

:art: formatting

visuddhinanda 2 years ago
parent
commit
0f01e8caee
1 changed files with 5 additions and 3 deletions
  1. 5 3
      app/Console/Commands/ExportChapter.php

+ 5 - 3
app/Console/Commands/ExportChapter.php

@@ -139,9 +139,11 @@ class ExportChapter extends Command
             }
         }
         $tex = array();
-        $m = new \Mustache_Engine(array('entity_flags'=>ENT_QUOTES,'delimiters' => '[[ ]]','escape'=>function ($value){
-            return $value;
-        }));
+        $m = new \Mustache_Engine(array('entity_flags'=>ENT_QUOTES,
+                                        'delimiters' => '[[ ]]',
+                                        'escape'=>function ($value){
+                                            return $value;
+                                        }));
         $tpl = file_get_contents(resource_path("mustache/tex/main.tex"));
         $texContent = $m->render($tpl,$bookMeta);
         $tex[] = ['name'=>'main.tex',