diff --git a/src/Tracy/BlueScreen/BlueScreen.php b/src/Tracy/BlueScreen/BlueScreen.php index acc1d6bc0..8fdcacbea 100644 --- a/src/Tracy/BlueScreen/BlueScreen.php +++ b/src/Tracy/BlueScreen/BlueScreen.php @@ -358,7 +358,7 @@ public static function highlightPhp(string $source, int $line, int $lines = 15, $out = $source[0]; // $source = str_replace('
', "\n", $source[1]); $out .= static::highlightLine($source, $line, $lines, $column); - $out = str_replace(' ', ' ', $out); + $out = str_replace(' ', ' ', $out) . '
'; return "
$out
"; } @@ -412,7 +412,7 @@ public static function highlightLine(string $html, int $line, int $lines = 15, i } } - $out .= str_repeat('', $spans) . ''; + $out .= str_repeat('', $spans); return $out; }