Skip to content

Commit

Permalink
Escape inline sections (#17453)
Browse files Browse the repository at this point in the history
  • Loading branch information
sileence authored and taylorotwell committed Jan 20, 2017
1 parent c26e7bc commit 98555a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Concerns/ManagesLayouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function startSection($section, $content = null)
$this->sectionStack[] = $section;
}
} else {
$this->extendSection($section, $content);
$this->extendSection($section, e($content));
}
}

Expand Down

0 comments on commit 98555a4

Please sign in to comment.