From 8c149f117100c5a9b51ce750771b5e3e973a1263 Mon Sep 17 00:00:00 2001 From: Joao Lopes Date: Mon, 14 Jan 2013 16:04:48 +0000 Subject: [PATCH] Minor fix in Blade Compiler not trimming the HTML --- src/Illuminate/View/Compilers/BladeCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/View/Compilers/BladeCompiler.php b/src/Illuminate/View/Compilers/BladeCompiler.php index 11809f655659..676176b94652 100644 --- a/src/Illuminate/View/Compilers/BladeCompiler.php +++ b/src/Illuminate/View/Compilers/BladeCompiler.php @@ -43,7 +43,7 @@ class BladeCompiler extends Compiler implements CompilerInterface { */ public function compile($path) { - $contents = $this->compileString($this->files->get($path)); + $contents = trim($this->compileString($this->files->get($path))); if ( ! is_null($this->cachePath)) {