Skip to content

Commit 925e5be

Browse files
committed
Trimming whitespace before doctype tag
When using layouts and sections
1 parent 4f7dd1c commit 925e5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function sharpen()
6868
// Once the view has been compiled, we can simply set the path to the
6969
// compiled view on the view instance and call the typical "get"
7070
// method on the view to evaluate the compiled PHP view.
71-
return $view->get();
71+
return ltrim($view->get());
7272
});
7373
}
7474

0 commit comments

Comments
 (0)