diff options
author | gerv%gerv.net <> | 2002-05-29 16:21:44 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-05-29 16:21:44 +0200 |
commit | 5f08c97985216e58cd084a58215faa011ff2b452 (patch) | |
tree | 4537ffcd810ec13f3a081976add3afffff019f56 | |
parent | afefcd738ac225204669acaa719097938c804514 (diff) | |
download | bugzilla-5f08c97985216e58cd084a58215faa011ff2b452.tar.gz bugzilla-5f08c97985216e58cd084a58215faa011ff2b452.tar.xz |
Bug 144728 - Midair collision doubles line feeds. Patch by jouni@heikniemi.net; 2xr=justdave.
-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; |