--- loncom/homework/structuretags.pm 2004/02/06 22:36:40 1.232 +++ loncom/homework/structuretags.pm 2004/02/12 19:07:12 1.234 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.232 2004/02/06 22:36:40 albertel Exp $ +# $Id: structuretags.pm,v 1.234 2004/02/12 19:07:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -984,6 +984,8 @@ sub start_part { } } if (($Apache::lonhomework::type eq 'exam') && ($allow_print_points)) { $result .= '\fbox{\textit{'.$weight.' pt}}';} + } elsif ($target eq 'web') { + $result.=''; } } } @@ -1052,12 +1054,12 @@ sub end_preduedate { sub start_postanswerdate { my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; - if ($target eq 'web' || $target eq 'grade' || $target eq 'tex') { + if ($target eq 'web' || $target eq 'grade') { if ($Apache::inputtags::status['-1'] ne 'SHOW_ANSWER') { &Apache::lonxml::get_all_text("/postanswerdate",$parser); } } elsif ($target eq 'tex') { - return '\vskip 0 mm \noindent'; + &Apache::lonxml::get_all_text("/postanswerdate",$parser); } return ''; }