Bug 9372: (follow-up) tidy whitespace in new lines
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
6dbfe1512d
commit
fc84903dfb
1 changed files with 2 additions and 2 deletions
|
@ -766,8 +766,8 @@ sub prepare_letter_for_printing {
|
||||||
} elsif ( exists $params->{'outputformat'} && $params->{'outputformat'} eq 'html' ) {
|
} elsif ( exists $params->{'outputformat'} && $params->{'outputformat'} eq 'html' ) {
|
||||||
$return = "<pre>\n";
|
$return = "<pre>\n";
|
||||||
my $content = $params->{'letter'}->{'content'};
|
my $content = $params->{'letter'}->{'content'};
|
||||||
$content=~s/\n/<br \/>/g;
|
$content =~ s/\n/<br \/>/g;
|
||||||
$content=~s/\r//g;
|
$content =~ s/\r//g;
|
||||||
$return .= "$content\n";
|
$return .= "$content\n";
|
||||||
$return .= "\n</pre>\n";
|
$return .= "\n</pre>\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue