Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -646,8 +646,6 @@ |
647 | 647 | $message = $wgMessageCache->get( $key, $useDB, $langCode ); |
648 | 648 | if ( $transform ) { |
649 | 649 | $message = $wgMessageCache->transform( $message ); |
650 | | - // Decode two entities used in messages, to allow them "pass" htmlspecialchars |
651 | | - $message = str_replace( array( ' ', ' ' ), array( ' ', "\xc2\xa0" ), $message ); |
652 | 650 | } |
653 | 651 | } else { |
654 | 652 | $lang = wfGetLangObj( $langCode ); |
— | — | @@ -798,8 +796,6 @@ |
799 | 797 | $string = $wgMessageCache->transform( $string, |
800 | 798 | !$forContent, |
801 | 799 | is_object( $langCode ) ? $langCode : null ); |
802 | | - // Decode two entities used in messages, to allow them "pass" htmlspecialchars |
803 | | - $string = str_replace( array( ' ', ' ' ), array( ' ', "\xc2\xa0" ), $string ); |
804 | 800 | } |
805 | 801 | } |
806 | 802 | |