Bugzilla – Attachment 28374 Details for
Bug 12294
Revert BZ9372
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12294 : Cancel replacing carriage return with <br /> in printed html file as <br /> is needed in model for email notices when html format is checked
Bug-12294--Cancel-replacing-carriage-return-with-b.patch (text/plain), 1.10 KB, created by
Sophie MEYNIEUX
on 2014-05-20 15:56:32 UTC
(
hide
)
Description:
Bug 12294 : Cancel replacing carriage return with <br /> in printed html file as <br /> is needed in model for email notices when html format is checked
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2014-05-20 15:56:32 UTC
Size:
1.10 KB
patch
obsolete
>From 8f0224cc61bc69e1a90dca7a741c47538d73af3a Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Tue, 20 May 2014 17:35:00 +0200 >Subject: [PATCH] Bug 12294 : Cancel replacing carriage return with <br /> in > printed html file as <br /> is needed in model for email > notices when html format is checked > >--- > misc/cronjobs/overdue_notices.pl | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 2a9f8ae..943c486 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -822,10 +822,7 @@ sub prepare_letter_for_printing { > } > } elsif ( exists $params->{'outputformat'} && $params->{'outputformat'} eq 'html' ) { > $return = "<pre>\n"; >- my $content = $params->{'letter'}->{'content'}; >- $content =~ s/\n/<br \/>/g; >- $content =~ s/\r//g; >- $return .= "$content\n"; >+ $return .= "$params->{'letter'}->{'content'}\n"; > $return .= "\n</pre>\n"; > } else { > $return .= "$params->{'letter'}->{'content'}\n"; >-- >1.7.10.4
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 12294
:
28374
|
29151
|
29652