From: gerv%gerv.net <> Date: Wed, 29 May 2002 14:20:50 +0000 (+0000) Subject: Bug 144728 - Midair collision doubles line feeds. Patch by jouni@heikniemi.net; 2xr... X-Git-Tag: bugzilla-2.16rc2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd21c95168bf30f4b3e15efe6a7bce5d14d85ab;p=thirdparty%2Fbugzilla.git Bug 144728 - Midair collision doubles line feeds. Patch by jouni@heikniemi.net; 2xr=justdave. --- diff --git a/process_bug.cgi b/process_bug.cgi index 450b839f1e..8356c76a59 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;