From 3c0dbf69bdfcf1b000f9aa4a6a0188fc1596f12e Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 22 Dec 2023 17:24:16 +0200 Subject: [PATCH] fix html entities --- src/Twig/AppExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Twig/AppExtension.php b/src/Twig/AppExtension.php index a8a6c11..0f6f3fc 100644 --- a/src/Twig/AppExtension.php +++ b/src/Twig/AppExtension.php @@ -185,8 +185,8 @@ class AppExtension extends AbstractExtension $text ); - // @TODO no idea - $text = str_replace('"', '"', $text); + // @TODO no idea, no raw + $text = html_entity_decode($text); return $text; }