--- loncom/homework/matchresponse.pm 2018/06/08 11:57:57 1.92.2.1 +++ loncom/homework/matchresponse.pm 2016/01/22 22:42:51 1.93 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.92.2.1 2018/06/08 11:57:57 raeburn Exp $ +# $Id: matchresponse.pm,v 1.93 2016/01/22 22:42:51 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -171,7 +171,7 @@ sub end_itemgroup { } if ($target eq 'web') { - my $table='
'; # extra space to match what latex does. + my $table='
'; # extra space to match what latex does. if ((!$columns) || ($columns < 0)) { if ($direction eq 'horizontal') { if (@names > 0) { @@ -685,7 +685,7 @@ sub displayfoils { my $last_letter=$name_letter_map{$lastopt}; my $optionlist = ''; if ($target ne 'tex') { - $optionlist="\n"; + $optionlist="\n"; } else { if ($Apache::lonhomework::type ne 'exam') { if($env{'form.pdfFormFields'} eq 'yes' @@ -702,7 +702,7 @@ sub displayfoils { foreach $option (@used_letters) { if ($option eq $last_letter) { if ($target ne 'tex') { - $optionlist.="\n"; + $optionlist.="\n"; } elsif ($target eq 'tex' && $env{'form.pdfFormFields'} eq 'yes' && $Apache::inputtags::status['-1'] eq 'CAN_ANSWER' && $Apache::lonhomework::type ne 'exam') { @@ -710,7 +710,7 @@ sub displayfoils { } } else { if ($target ne 'tex') { - $optionlist.="\n"; + $optionlist.="\n"; } elsif ($target eq 'tex' && $env{'form.pdfFormFields'} eq 'yes' && $Apache::inputtags::status['-1'] eq 'CAN_ANSWER' && $Apache::lonhomework::type ne 'exam') {