diff --git a/src/Highlighter.php b/src/Highlighter.php index a65a1b8..5b6e527 100644 --- a/src/Highlighter.php +++ b/src/Highlighter.php @@ -315,6 +315,6 @@ private function lineNumbers(array $lines, $markLine = null) $snippet .= $line . PHP_EOL; } - return $snippet; + return rtrim($snippet, PHP_EOL); } }