Lines 109-115
if ( $html ) {
Link Here
|
109 |
## carriage return replaced by <br/> as output is html |
109 |
## carriage return replaced by <br/> as output is html |
110 |
foreach my $message (@all_messages) { |
110 |
foreach my $message (@all_messages) { |
111 |
local $_ = $message->{'content'}; |
111 |
local $_ = $message->{'content'}; |
112 |
s/\n/<br \/>/g; |
112 |
s/^\s*\n/<br \/>/g; |
113 |
s/\r//g; |
113 |
s/\r//g; |
114 |
$message->{'content'} = $_; |
114 |
$message->{'content'} = $_; |
115 |
} |
115 |
} |
116 |
- |
|
|