--- loncom/homework/structuretags.pm 2004/08/13 15:54:06 1.264 +++ loncom/homework/structuretags.pm 2004/08/25 19:16:25 1.265 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.264 2004/08/13 15:54:06 sakharuk Exp $ +# $Id: structuretags.pm,v 1.265 2004/08/25 19:16:25 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1149,7 +1149,7 @@ sub end_part { $gradestatus=''; } $result=$gradestatus; - if ($$tagstack[-2] eq 'td') {$result.='\end{minipage}';} + if ($$tagstack[-2] eq 'td' and $target eq 'tex') {$result.='\end{minipage}';} } elsif ($target eq 'edit') { $result=&Apache::edit::end_table(); }