Skip to content

Commit

Permalink
trim double quotes from section name (#17677)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored and taylorotwell committed Jan 30, 2017
1 parent 55be2ea commit 99c6db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected function compileExtends($expression)
*/
protected function compileSection($expression)
{
$this->lastSection = trim($expression, "()'");
$this->lastSection = trim($expression, "()'\"");

return "<?php \$__env->startSection{$expression}; ?>";
}
Expand Down

0 comments on commit 99c6db8

Please sign in to comment.