From d95b5fce85d1adaca1de0680a60dfdcf39b11e8a Mon Sep 17 00:00:00 2001 From: Brent Roose Date: Mon, 22 Apr 2024 10:45:09 +0200 Subject: [PATCH] Comment fix --- src/Highlight/Injections/CommentInjection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Highlight/Injections/CommentInjection.php b/src/Highlight/Injections/CommentInjection.php index 5ac0639..18021c8 100644 --- a/src/Highlight/Injections/CommentInjection.php +++ b/src/Highlight/Injections/CommentInjection.php @@ -31,7 +31,7 @@ public function style(string $content): string ], ); - $comment = str_replace('/* * ', '/*', $comment); + $comment = str_replace('/* *', '/*', $comment); return TerminalStyle::FG_GRAY($comment); }