--- loncom/homework/optionresponse.pm 2003/03/26 22:59:09 1.70 +++ loncom/homework/optionresponse.pm 2003/03/27 14:58:56 1.71 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: optionresponse.pm,v 1.70 2003/03/26 22:59:09 albertel Exp $ +# $Id: optionresponse.pm,v 1.71 2003/03/27 14:58:56 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -634,7 +634,7 @@ sub end_foil { if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') { $Apache::response::conceptgroup{"$name.text"} = '\vskip 4 mm $\triangleright$ '.$text; } else { - if ($target eq 'tex') { + if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') { $Apache::response::conceptgroup{"$name.text"} = ' $\triangleright$ '.$text; } else { $Apache::response::conceptgroup{"$name.text"} = $text; @@ -647,7 +647,7 @@ sub end_foil { if ($Apache::lonhomework::type eq 'exam') { $Apache::response::foilgroup{"$name.text"} = '\vskip 5 mm $\triangleright$ '.$text; } else { - if ($target eq 'tex') { + if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') { $Apache::response::foilgroup{"$name.text"} = ' $\triangleright$ '.$text; } else { $Apache::response::foilgroup{"$name.text"} = $text;