Index: trunk/extensions/RSS/RSSParser.php |
— | — | @@ -251,9 +251,9 @@ |
252 | 252 | // rogue <script> tags neutered. |
253 | 253 | foreach ( array_keys( $item ) as $info ) { |
254 | 254 | if ( isset( $displayFields[ $info ] ) ) { |
255 | | - $txt = $this->highlightTerms( htmlspecialchars( $item[ $info ] ) ); |
| 255 | + $txt = $this->highlightTerms( wfEscapeWikiText( $item[ $info ] ) ); |
256 | 256 | } else { |
257 | | - $txt = htmlspecialchars( $item[ $info ] ); |
| 257 | + $txt = wfEscapeWikiText( $item[ $info ] ); |
258 | 258 | } |
259 | 259 | $rendered = str_replace( '{{{' . $info . '}}}', $txt, $rendered ); |
260 | 260 | } |