Index: trunk/phase3/includes/Exception.php |
— | — | @@ -493,7 +493,7 @@ |
494 | 494 | if ( $cmdLine ) { |
495 | 495 | wfPrintError( $message ); |
496 | 496 | } else { |
497 | | - wfDie( htmlspecialchars( $message ) ) . "\n"; |
| 497 | + wfDie( nl2br( htmlspecialchars( $message ) ) ) . "\n"; |
498 | 498 | } |
499 | 499 | } |
500 | 500 | } else { |
— | — | @@ -507,7 +507,7 @@ |
508 | 508 | if ( $cmdLine ) { |
509 | 509 | wfPrintError( $message ); |
510 | 510 | } else { |
511 | | - wfDie( htmlspecialchars( $message ) ) . "\n"; |
| 511 | + wfDie( nl2br( htmlspecialchars( $message ) ) ) . "\n"; |
512 | 512 | } |
513 | 513 | } |
514 | 514 | } |