--- loncom/publisher/testbankimport.pm 2011/01/31 17:49:13 1.29 +++ loncom/publisher/testbankimport.pm 2011/03/05 22:25:09 1.30 @@ -1,5 +1,5 @@ # Handler for parsing text upload problem descriptions into .problems -# $Id: testbankimport.pm,v 1.29 2011/01/31 17:49:13 raeburn Exp $ +# $Id: testbankimport.pm,v 1.30 2011/03/05 22:25:09 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1330,7 +1330,11 @@ sub create_mcq { my $numfoils = scalar(@{$qstnref}) - 1; my $datestamp = localtime; my $numansrs = scalar(@{$answerref}); - my $output = ' + my $output = ''; + if ($qtype eq 'MC') { + $output .= "\n".''; + } + $output .= ' '; if ($res eq 'application/rtf' || $res eq 'text/html') { if ($header ne '') {