From 02d2578247d26bc5eebb5e94b2ea21297060225e Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 18 Oct 2023 11:03:25 +0000 Subject: [PATCH] Bug 34704: (QA follow-up): Add multi-line modifier This patch adds a multi line modifier to the regex to catch all lines --- misc/cronjobs/gather_print_notices.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl index b9f205c0f6..779750355e 100755 --- a/misc/cronjobs/gather_print_notices.pl +++ b/misc/cronjobs/gather_print_notices.pl @@ -109,7 +109,7 @@ if ( $html ) { ## carriage return replaced by
as output is html foreach my $message (@all_messages) { local $_ = $message->{'content'}; - s/^\s*\n/
/g; + s/^\s*\n/
/gm; s/\r//g; $message->{'content'} = $_; } -- 2.37.1 (Apple Git-137.1)