Index: trunk/phase3/includes/MessageBlobStore.php |
— | — | @@ -350,7 +350,12 @@ |
351 | 351 | $messages = array(); |
352 | 352 | |
353 | 353 | foreach ( $module->getMessages() as $key ) { |
354 | | - $messages[$key] = wfMsgExt( $key, array( 'language' => $lang ) ); |
| 354 | + $messages[$key] = |
| 355 | + Sanitizer::normalizeCharReferences( |
| 356 | + Sanitizer::removeHTMLtags( |
| 357 | + wfMsgExt( $key, array( 'language' => $lang ) ) |
| 358 | + ) |
| 359 | + ); |
355 | 360 | } |
356 | 361 | |
357 | 362 | return FormatJson::encode( (object)$messages ); |