From: Galen Charlton Date: Mon, 16 Sep 2013 18:38:50 +0000 (+0000) Subject: Bug 9372: (follow-up) tidy whitespace in new lines X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=fc84903dfb73212029466764005bb53e5089acc8;p=koha.git Bug 9372: (follow-up) tidy whitespace in new lines Signed-off-by: Galen Charlton --- diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 5da424ebe2..c1c4c199cc 100755 --- 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 = "
\n";
       my $content = $params->{'letter'}->{'content'};
-      $content=~s/\n/
/g; - $content=~s/\r//g; + $content =~ s/\n/
/g; + $content =~ s/\r//g; $return .= "$content\n"; $return .= "\n
\n"; } else {