Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewDiff.php |
— | — | @@ -308,10 +308,10 @@ |
309 | 309 | |
310 | 310 | function getMultiLineRow( $msg, $old, $new ) { |
311 | 311 | if ( !is_array( $old ) ) { |
312 | | - $old = explode( "\n", $old ); |
| 312 | + $old = explode( "\n", str_replace( "\r", '', $old ) ); |
313 | 313 | } |
314 | 314 | if ( !is_array( $new ) ) { |
315 | | - $new = explode( "\n", $new ); |
| 315 | + $new = explode( "\n", str_replace( "\r", '', $new ) ); |
316 | 316 | } |
317 | 317 | |
318 | 318 | if ( $old == $new ) { |