diff --git a/classes/Tools.php b/classes/Tools.php index 438c313a5..026cdf0e0 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1283,21 +1283,8 @@ class ToolsCore */ public static function minifyHTMLpregCallback($preg_matches) { -<<<<<<< .working Tools::displayAsDeprecated(); return Media::minifyHTMLpregCallback($preg_matches); -======= - $args = array(); - preg_match_all('/[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']/is', $preg_matches[2], $args); - $args = $args[0]; - sort($args); - // if there is no args in the balise, we don't write a space (avoid previous :