Skip to content

Commit 8c149f1

Browse files
committed
Minor fix in Blade Compiler not trimming the HTML
1 parent fc98eaa commit 8c149f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/Compilers/BladeCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BladeCompiler extends Compiler implements CompilerInterface {
4343
*/
4444
public function compile($path)
4545
{
46-
$contents = $this->compileString($this->files->get($path));
46+
$contents = trim($this->compileString($this->files->get($path)));
4747

4848
if ( ! is_null($this->cachePath))
4949
{

0 commit comments

Comments
 (0)