Index: trunk/phase3/includes/diff/DifferenceEngine.php |
— | — | @@ -1045,7 +1045,7 @@ |
1046 | 1046 | |
1047 | 1047 | function getLines() { |
1048 | 1048 | $this->_flushLine('~done'); |
1049 | | - return $this->_lines; |
| 1049 | + return preg_replace( '/\n/m', '', $this->_lines); |
1050 | 1050 | } |
1051 | 1051 | } |
1052 | 1052 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -380,6 +380,7 @@ |
381 | 381 | * (bug 25642) A exception is now thrown instead of a fatal error when using |
382 | 382 | $wgSMTP without PEAR mail package |
383 | 383 | * (bug 19633) When possible, Upscale small SVGs when creating thumbnails. |
| 384 | +* (bug 25725) Unwanted linebreaks in diffs. |
384 | 385 | |
385 | 386 | === API changes in 1.17 === |
386 | 387 | * (bug 22738) Allow filtering by action type on query=logevent. |