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:
Fomafix 2019-05-13 17:40:09 +02:00
parent 608b0bbb16
commit 025f373d8a

View file

@ -266,7 +266,7 @@ class InputBox {
'value' => $this->mButtonLabel
]
);
$htmlOut .= ' ';
$htmlOut .= "\u{00A0}";
}
// Search button
@ -341,7 +341,7 @@ class InputBox {
'dir' => $this->mDir,
]
);
$htmlOut .= ' ' . Xml::element( 'input',
$htmlOut .= "\u{00A0}" . Xml::element( 'input',
[
'type' => 'submit',
'name' => 'go',