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
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public static function sharpen()
// Once the view has been compiled, we can simply set the path to the // 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" // compiled view on the view instance and call the typical "get"
// method on the view to evaluate the compiled PHP view. // method on the view to evaluate the compiled PHP view.
return $view->get(); return ltrim($view->get());
}); });
} }