diff options
-rwxr-xr-x | process_bug.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 450b839f1..8356c76a5 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -865,6 +865,9 @@ foreach my $id (@idlist) { $vars->{'start_at'} = $::FORM{'longdesclength'}; $vars->{'comments'} = GetComments($id); + $::FORM{'comment'} =~ s/\r\n/\n/g; # Get rid of windows-style line endings. + $::FORM{'comment'} =~ s/\r/\n/g; # Get rid of mac-style line endings. + $::FORM{'delta_ts'} = $delta_ts; $vars->{'form'} = \%::FORM; |