From 5372131264e2ef90e4d00c8d4cc8496f2e81b373 Mon Sep 17 00:00:00 2001 From: Julien Rosset Date: Tue, 25 Apr 2023 17:49:24 +0200 Subject: [PATCH] ConsoleOutputWithMonolog: message without tags (formatting) --- src/CliProgram/Monolog/TOutputInterfaceWithMonolog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CliProgram/Monolog/TOutputInterfaceWithMonolog.php b/src/CliProgram/Monolog/TOutputInterfaceWithMonolog.php index 4fec236..76fc7e4 100644 --- a/src/CliProgram/Monolog/TOutputInterfaceWithMonolog.php +++ b/src/CliProgram/Monolog/TOutputInterfaceWithMonolog.php @@ -67,7 +67,7 @@ trait TOutputInterfaceWithMonolog { } foreach ($messages as $message) { - $this->logger->log($loggerLevel, $message); + $this->logger->log($loggerLevel, strip_tags($message)); } }