diff --git a/src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php b/src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php index b1ec55e1cf52..12c6578b880e 100644 --- a/src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php +++ b/src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php @@ -38,7 +38,7 @@ protected function compileExtends($expression) */ protected function compileSection($expression) { - $this->lastSection = trim($expression, "()'"); + $this->lastSection = trim($expression, "()'\""); return "startSection{$expression}; ?>"; }