X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLFloatField.php;h=2ef497895fad2265afc4737d67a4c21757c3f968;hp=3b38fbe89268dc375891e21507aa21986e7b1afc;hb=708c02281e6e8880ae2cebbda7f353ce97841f94;hpb=8751d6a10fa15a7608a75f06bbf4c43001b4c4c9 diff --git a/includes/htmlform/HTMLFloatField.php b/includes/htmlform/HTMLFloatField.php index 3b38fbe892..2ef497895f 100644 --- a/includes/htmlform/HTMLFloatField.php +++ b/includes/htmlform/HTMLFloatField.php @@ -17,7 +17,7 @@ class HTMLFloatField extends HTMLTextField { $value = trim( $value ); - # http://dev.w3.org/html5/spec/common-microsyntaxes.html#real-numbers + # http://www.w3.org/TR/html5/infrastructure.html#floating-point-numbers # with the addition that a leading '+' sign is ok. if ( !preg_match( '/^((\+|\-)?\d+(\.\d+)?(E(\+|\-)?\d+)?)?$/i', $value ) ) { return $this->msg( 'htmlform-float-invalid' )->parseAsBlock();