Bug 9372: (follow-up) tidy whitespace in new lines

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2013-09-16 18:38:50 +00:00
parent 6dbfe1512d
commit fc84903dfb

View file

@ -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 {