We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d3fdc0 commit aef975cCopy full SHA for aef975c
src/Illuminate/View/Concerns/ManagesComponents.php
@@ -5,7 +5,6 @@
5
use Illuminate\Contracts\Support\Htmlable;
6
use Illuminate\Contracts\View\View;
7
use Illuminate\Support\Arr;
8
-use Illuminate\Support\HtmlString;
9
use Illuminate\View\ComponentSlot;
10
11
trait ManagesComponents
@@ -115,7 +114,7 @@ public function renderComponent()
115
114
*/
116
protected function componentData()
117
{
118
- $defaultSlot = new HtmlString(trim(ob_get_clean()));
+ $defaultSlot = new ComponentSlot(trim(ob_get_clean()));
119
120
$slots = array_merge([
121
'__default' => $defaultSlot,
0 commit comments