diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 39c71e87..eee6825a 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -562,8 +562,6 @@ class helper // Supprime les tabulations, espaces, nouvelles lignes, etc... $js = str_replace(["\r\n", "\r", "\t", "\n", ' ', ' ', ' '], '', $js); $js = preg_replace(['(( )+\))', '(\)( )+)'], ')', $js); - // Convertir les codes entités - $js = htmlspecialchars_decode($js); // Retourne le js minifié return $js; } diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 2560d31a..c9adbb95 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -1043,8 +1043,9 @@ class layout extends common if ($this->core->output['inlineScript']) { $inlineScript = implode($this->core->output['inlineScript']); } - echo ''; - echo ''; + echo ''; + + } /**