mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-13 17:53:26 +00:00
Use \u{00A0} instead of  
Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0) instead of the HTML/XML entitiy  . Bug: T154300 Change-Id: Ica1a16c7114ec2c5bea04b21f14cf083eb4e417b
This commit is contained in:
parent
608b0bbb16
commit
025f373d8a
|
@ -266,7 +266,7 @@ class InputBox {
|
||||||
'value' => $this->mButtonLabel
|
'value' => $this->mButtonLabel
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$htmlOut .= ' ';
|
$htmlOut .= "\u{00A0}";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Search button
|
// Search button
|
||||||
|
@ -341,7 +341,7 @@ class InputBox {
|
||||||
'dir' => $this->mDir,
|
'dir' => $this->mDir,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$htmlOut .= ' ' . Xml::element( 'input',
|
$htmlOut .= "\u{00A0}" . Xml::element( 'input',
|
||||||
[
|
[
|
||||||
'type' => 'submit',
|
'type' => 'submit',
|
||||||
'name' => 'go',
|
'name' => 'go',
|
||||||
|
|
Loading…
Reference in a new issue