From 5f08c97985216e58cd084a58215faa011ff2b452 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 29 May 2002 14:21:44 +0000 Subject: Bug 144728 - Midair collision doubles line feeds. Patch by jouni@heikniemi.net; 2xr=justdave. --- process_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'process_bug.cgi') 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; -- cgit v1.2.3-24-g4f1b