diff options
author | Kevin Israel <pleasestand@live.com> | 2018-07-08 22:27:52 -0400 |
---|---|---|
committer | Kevin Israel <pleasestand@live.com> | 2018-07-08 23:16:22 -0400 |
commit | 7a4df753fd1f202f6679b501bb6166ed7aba4074 (patch) | |
tree | 16753d511b70ab1bf5104bb210fc76de023cee62 /includes/installer/WebInstallerOptions.php | |
parent | cf1880aa5e01de0855ce2128f9b6366a38d997c8 (diff) | |
download | mediawikicore-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.php | 2 |
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;\">" . |