X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FXml.php;h=40be80bc5beae1c8223e48829fe8b2e6d0edb167;hb=754c623ba5c7158fd71fee57c7736e392ecc01a1;hp=af38740a8cfcd2009e131822cef0a897c37db960;hpb=1abed55d47e661b5d9f4c1e894bf0cb5ac00fa5e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Xml.php b/includes/Xml.php index af38740a8c..40be80bc5b 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -382,7 +382,7 @@ class Xml { $value = false, $attribs = [] ) { list( $label, $input ) = self::inputLabelSep( $label, $name, $id, $size, $value, $attribs ); - return $label . ' ' . $input; + return $label . "\u{00A0}" . $input; } /** @@ -420,7 +420,7 @@ class Xml { public static function checkLabel( $label, $name, $id, $checked = false, $attribs = [] ) { global $wgUseMediaWikiUIEverywhere; $chkLabel = self::check( $name, $checked, [ 'id' => $id ] + $attribs ) . - ' ' . + "\u{00A0}" . self::label( $label, $id, $attribs ); if ( $wgUseMediaWikiUIEverywhere ) { @@ -446,7 +446,7 @@ class Xml { $checked = false, $attribs = [] ) { return self::radio( $name, $value, $checked, [ 'id' => $id ] + $attribs ) . - ' ' . + "\u{00A0}" . self::label( $label, $id, $attribs ); }