Bugzilla – Attachment 157303 Details for
Bug 34704
Print templates are formatted incorrectly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34704: (QA follow-up): Add multi-line modifier
Bug-34704-QA-follow-up-Add-multi-line-modifier.patch (text/plain), 947 bytes, created by
Matt Blenkinsop
on 2023-10-18 11:04:31 UTC
(
hide
)
Description:
Bug 34704: (QA follow-up): Add multi-line modifier
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-10-18 11:04:31 UTC
Size:
947 bytes
patch
obsolete
>From 02d2578247d26bc5eebb5e94b2ea21297060225e Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >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 <br/> as output is html > foreach my $message (@all_messages) { > local $_ = $message->{'content'}; >- s/^\s*\n/<br \/>/g; >+ s/^\s*\n/<br \/>/gm; > s/\r//g; > $message->{'content'} = $_; > } >-- >2.37.1 (Apple Git-137.1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34704
:
155196
|
155503
|
156229
|
156230
|
157303
|
158602
|
158603
|
158604
|
158637
|
158643