projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbfe15
)
Bug 9372: (follow-up) tidy whitespace in new lines
author
Galen Charlton
<gmc@esilibrary.com>
Mon, 16 Sep 2013 18:38:50 +0000
(18:38 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Mon, 16 Sep 2013 18:38:50 +0000
(18:38 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/cronjobs/overdue_notices.pl
patch
|
blob
|
history
diff --git
a/misc/cronjobs/overdue_notices.pl
b/misc/cronjobs/overdue_notices.pl
index
5da424e
..
c1c4c19
100755
(executable)
--- a/
misc/cronjobs/overdue_notices.pl
+++ b/
misc/cronjobs/overdue_notices.pl
@@
-766,8
+766,8
@@
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;
+ $content
=~
s/\n/<br \/>/g;
+ $content
=~
s/\r//g;
$return .= "$content\n";
$return .= "\n</pre>\n";
} else {