diff --git a/src/Style.php b/src/Style.php index a8f5e704..b40a1034 100644 --- a/src/Style.php +++ b/src/Style.php @@ -6,7 +6,7 @@ use ipl\Html\Attributes; use ipl\Html\BaseHtmlElement; use ipl\Html\HtmlElement; -use ipl\Html\Text; +use ipl\Html\HtmlString; use ipl\Html\ValidHtml; class Style extends LessRuleset implements ValidHtml @@ -74,7 +74,7 @@ public function render(): string return new HtmlElement( 'style', (new Attributes())->addAttribute(new Attribute('nonce', $this->nonce)), - Text::create($ruleset->renderCss()) + HtmlString::create($ruleset->renderCss()) ); }