Skip to content

Commit ad87baa

Browse files
committed
BlueScreen::formatMessage() don't highlight \n
1 parent aff47f2 commit ad87baa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tracy/BlueScreen/BlueScreen.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ public function getDumper(): \Closure
372372
public function formatMessage(\Throwable $exception): string
373373
{
374374
$msg = Helpers::encodeString(trim((string) $exception->getMessage()), self::MAX_MESSAGE_LENGTH);
375+
$msg = str_replace('<i>\n</i>', '', $msg);
375376

376377
// highlight 'string'
377378
$msg = preg_replace(

0 commit comments

Comments
 (0)