Inversion de la minification des script inline

This commit is contained in:
Fred Tempez 2023-03-26 14:14:21 +02:00
parent 91112037e9
commit ca87ee2d3b

View File

@ -1044,7 +1044,7 @@ class layout extends common
$inlineScript = implode($this->core->output['inlineScript']);
}
echo '<script defer>' . helper::minifyJs($coreScript . $this->core->output['script'] ) . '</script>';
echo '<script defer>' . htmlspecialchars_decode(helper::minifyJs($inlineScript)) . '</script>';
echo '<script defer>' . helper::minifyJs(htmlspecialchars_decode($inlineScript)) . '</script>';
}
/**