--- loncom/homework/structuretags.pm 2006/12/07 23:11:55 1.371 +++ loncom/homework/structuretags.pm 2007/02/23 01:04:05 1.373 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.371 2006/12/07 23:11:55 albertel Exp $ +# $Id: structuretags.pm,v 1.373 2007/02/23 01:04:05 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -276,9 +276,7 @@ sub option { sub problem_web_to_edit_header { my ($rndseed)=@_; my $result.=''; - if (!$Apache::lonhomework::parsing_a_task) { - $result .= ''; - } + $result .= ''; $result .= ' @@ -787,7 +785,6 @@ sub end_problem { } if ($target eq 'tex') { - # Figure out the front matter and replace the # INSERTTEXFRONTMATTERHERE in result with it. note that we do # this in end_problem because whether or not we display due @@ -996,7 +993,6 @@ sub end_library { my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; my $result=''; if ($target eq 'edit') { - &Apache::lonnet::logthis("exit lib"); $result=&problem_edit_footer(); } elsif ($target eq 'web' && ($#$tagstack eq 0 && $$tagstack[0] eq 'library')