Skip to content

Commit 98555a4

Browse files
sileencetaylorotwell
authored andcommitted
Escape inline sections (#17453)
1 parent c26e7bc commit 98555a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/Concerns/ManagesLayouts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function startSection($section, $content = null)
4141
$this->sectionStack[] = $section;
4242
}
4343
} else {
44-
$this->extendSection($section, $content);
44+
$this->extendSection($section, e($content));
4545
}
4646
}
4747

0 commit comments

Comments
 (0)