Index: trunk/phase3/includes/Math.php |
— | — | @@ -162,7 +162,7 @@ |
163 | 163 | $mf = htmlspecialchars( wfMsg( 'math_failure' ) ); |
164 | 164 | $munk = htmlspecialchars( wfMsg( 'math_unknown_error' ) ); |
165 | 165 | $errmsg = htmlspecialchars( wfMsg( $msg ) ); |
166 | | - $source = htmlspecialchars($this->tex); |
| 166 | + $source = htmlspecialchars( str_replace( "\n", ' ', $this->tex ) ); |
167 | 167 | return "<strong class='error'>$mf ($errmsg$append): $source</strong>\n"; |
168 | 168 | } |
169 | 169 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -591,6 +591,7 @@ |
592 | 592 | * Fix extra namespace for Bulgarian |
593 | 593 | * (bug 4303) Add $wgFavicon to change the shorticon icon link from |
594 | 594 | the default /favicon.ico or disable it (if set to false) |
| 595 | +* (bug 3347) strip linebreaks in math error source |
595 | 596 | |
596 | 597 | |
597 | 598 | === Caveats === |