Index: trunk/phase3/includes/diff/WikiDiff.php |
— | — | @@ -1045,7 +1045,7 @@ |
1046 | 1046 | |
1047 | 1047 | function getLines() { |
1048 | 1048 | $this->_flushLine( '~done' ); |
1049 | | - return preg_replace( '/\n/m', '', $this->_lines ); |
| 1049 | + return str_replace( '\n', '', $this->_lines ); |
1050 | 1050 | } |
1051 | 1051 | } |
1052 | 1052 | |