Trimming whitespace before doctype tag

When using layouts and sections
This commit is contained in:
Boris Strahija
2012-09-18 17:22:45 +03:00
parent 4f7dd1c8a4
commit 925e5bed73

View File

@@ -68,7 +68,7 @@ class Blade {
// Once the view has been compiled, we can simply set the path to the
// compiled view on the view instance and call the typical "get"
// method on the view to evaluate the compiled PHP view.
return $view->get();
return ltrim($view->get());
});
}