X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLCheckField.php;h=7523b5fe84e33a8aca0e6331b54173e9bd525b0f;hb=d503ac7c9433a36358b1db27c6365167ea869832;hp=b080e183ff58c3b8ccaa5b508de985e742987635;hpb=c99b37bdc05650a38b44f18429437bab6ecc91a8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLCheckField.php b/includes/htmlform/fields/HTMLCheckField.php index b080e183ff..7523b5fe84 100644 --- a/includes/htmlform/fields/HTMLCheckField.php +++ b/includes/htmlform/fields/HTMLCheckField.php @@ -27,7 +27,7 @@ class HTMLCheckField extends HTMLFormField { } $chkLabel = Xml::check( $this->mName, $value, $attr ) . - ' ' . + "\u{00A0}" . Html::rawElement( 'label', $attrLabel, $this->mLabel ); if ( $wgUseMediaWikiUIEverywhere || $this->mParent instanceof VFormHTMLForm ) { @@ -52,7 +52,7 @@ class HTMLCheckField extends HTMLFormField { $value = !$value; } - $attr = $this->getTooltipAndAccessKey(); + $attr = $this->getTooltipAndAccessKeyOOUI(); $attr['id'] = $this->mID; $attr['name'] = $this->mName; @@ -88,7 +88,7 @@ class HTMLCheckField extends HTMLFormField { ) { return ''; } else { - return ' '; + return "\u{00A0}"; } }