From 34dc9d563f180d48e31dbdd8d084c3c873ebd4c7 Mon Sep 17 00:00:00 2001 From: Mark Huot Date: Sun, 29 Oct 2023 08:31:55 -0400 Subject: [PATCH] Update SlotDefinition.php --- src/base/SlotDefinition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/SlotDefinition.php b/src/base/SlotDefinition.php index 8ada6ef..911a8fd 100644 --- a/src/base/SlotDefinition.php +++ b/src/base/SlotDefinition.php @@ -92,7 +92,7 @@ public function getConfig() public function render(array $context=[]): Markup { - return new \Twig\Markup($this->component->getSlot($this->name)->render($context), 'utf-8'); + return $this->component->getSlot($this->name)->render($context); } public function __toString(): string