Skip to content

Commit

Permalink
BlueScreen::formatMessage() don't highlight \n
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 3, 2021
1 parent aff47f2 commit ad87baa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tracy/BlueScreen/BlueScreen.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ public function getDumper(): \Closure
public function formatMessage(\Throwable $exception): string
{
$msg = Helpers::encodeString(trim((string) $exception->getMessage()), self::MAX_MESSAGE_LENGTH);
$msg = str_replace('<i>\n</i>', '', $msg);

// highlight 'string'
$msg = preg_replace(
Expand Down

0 comments on commit ad87baa

Please sign in to comment.