[VersionBump] 2.0.0alpha0

Ran composer update and locale updater
This commit is contained in:
Diogo Cordeiro
2020-08-04 05:31:44 +01:00
parent 8ad928d48d
commit a9c365a5eb
229 changed files with 4505 additions and 13941 deletions

View File

@@ -69,7 +69,13 @@ class HTMLPurifier_AttrDef_CSS_Number extends HTMLPurifier_AttrDef
return false;
}
$left = ltrim($left, '0');
// Remove leading zeros until positive number or a zero stays left
if (ltrim($left, '0') != '') {
$left = ltrim($left, '0');
} else {
$left = '0';
}
$right = rtrim($right, '0');
if ($right === '') {