Browse Source

Merge pull request #1242 from bstrahija/patch-1

Trimming whitespace before doctype tag
Dayle Rees 12 years ago
parent
commit
99d710a820
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/blade.php

+ 1 - 1
laravel/blade.php

@@ -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());
 		});
 	}