From a03687f4d624c3f78aa331e7dee524c7c8778a58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 4 Jun 2009 07:38:00 +0000 Subject: [PATCH] Revert part of r50883, superseded by Tim's r51453 --- includes/GlobalFunctions.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 41d4a6f29d..4e12e721e2 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -646,8 +646,6 @@ function wfMsgGetKey( $key, $useDB, $langCode = false, $transform = true ) { $message = $wgMessageCache->get( $key, $useDB, $langCode ); if ( $transform ) { $message = $wgMessageCache->transform( $message ); - // Decode two entities used in messages, to allow them "pass" htmlspecialchars - $message = str_replace( array( ' ', ' ' ), array( ' ', "\xc2\xa0" ), $message ); } } else { $lang = wfGetLangObj( $langCode ); @@ -798,8 +796,6 @@ function wfMsgExt( $key, $options ) { $string = $wgMessageCache->transform( $string, !$forContent, is_object( $langCode ) ? $langCode : null ); - // Decode two entities used in messages, to allow them "pass" htmlspecialchars - $string = str_replace( array( ' ', ' ' ), array( ' ', "\xc2\xa0" ), $string ); } } -- 2.20.1