Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | return null; |
248 | 248 | } |
249 | 249 | if ( $response->responseStatus === 200 ) { |
250 | | - $text = $this->suggestionField( $response->responseData->translatedText ); |
| 250 | + $text = $this->suggestionField( Sanitizer::decodeCharReferences( $response->responseData->translatedText ) ); |
251 | 251 | return Html::rawElement( 'div', null, self::legend('Google') . $text . self::clear() ); |
252 | 252 | } elseif( $response->responseDetails === 'invalid translation language pair' ) { |
253 | 253 | $unsupported[$code] = true; |