From 14f12b486c5ace03f66c6bb63d0f7f57ba2a38e0 Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Mon, 30 Jan 2017 19:59:08 +0200 Subject: [PATCH] trim double quotes from section name --- src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; ?>"; }