Use \u{00A0} instead of  

Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0)
instead of the HTML entity  .

Bug: T154300
Change-Id: I2f50fd24772eacd0bddf90c982fd7112196e6ad2
This commit is contained in:
Fomafix 2022-08-30 13:24:16 +00:00
parent b124456dff
commit 7cd544c4ca

View file

@ -272,7 +272,7 @@ class SpecialNuke extends SpecialPage {
'pages[]', 'pages[]',
true, true,
[ 'value' => $title->getPrefixedDBkey() ] [ 'value' => $title->getPrefixedDBkey() ]
) . ' ' . ) . "\u{00A0}" .
( $thumb ? $thumb->toHtml( [ 'desc-link' => true ] ) : '' ) . ( $thumb ? $thumb->toHtml( [ 'desc-link' => true ] ) : '' ) .
$linkRenderer->makeKnownLink( $title ) . $wordSeparator . $linkRenderer->makeKnownLink( $title ) . $wordSeparator .
$this->msg( 'parentheses' )->rawParams( $userNameText . $changesLink )->escaped() . $this->msg( 'parentheses' )->rawParams( $userNameText . $changesLink )->escaped() .