aboutsummaryrefslogtreecommitdiffstats
path: root/includes/installer/WebInstallerOptions.php
diff options
context:
space:
mode:
authorKevin Israel <pleasestand@live.com>2018-07-08 22:27:52 -0400
committerKevin Israel <pleasestand@live.com>2018-07-08 23:16:22 -0400
commit7a4df753fd1f202f6679b501bb6166ed7aba4074 (patch)
tree16753d511b70ab1bf5104bb210fc76de023cee62 /includes/installer/WebInstallerOptions.php
parentcf1880aa5e01de0855ce2128f9b6366a38d997c8 (diff)
downloadmediawikicore-7a4df753fd1f202f6679b501bb6166ed7aba4074.tar.gz
mediawikicore-7a4df753fd1f202f6679b501bb6166ed7aba4074.zip
Web installer: Correctly escape U+00A0 NO-BREAK SPACE
Unicode escape sequences cannot be used in single quoted strings, in which they are treated as literal text. Follows-up 125cbd8c017b872c. Change-Id: Ife53a613a801b8bb96542b42fd3d2bb3dccaf629
Diffstat (limited to 'includes/installer/WebInstallerOptions.php')
-rw-r--r--includes/installer/WebInstallerOptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/installer/WebInstallerOptions.php b/includes/installer/WebInstallerOptions.php
index 7f0d27d39017..382ed3bf8dde 100644
--- a/includes/installer/WebInstallerOptions.php
+++ b/includes/installer/WebInstallerOptions.php
@@ -412,7 +412,7 @@ class WebInstallerOptions extends WebInstallerPage {
return '<p>' .
Html::element( 'img', [ 'src' => $this->getVar( 'wgRightsIcon' ) ] ) .
- '\u{00A0}\u{00A0}' .
+ "\u{00A0}\u{00A0}" .
htmlspecialchars( $this->getVar( 'wgRightsText' ) ) .
"</p>\n" .
"<p style=\"text-align: center;\">" .