--- loncom/homework/structuretags.pm 2006/04/11 18:42:58 1.341 +++ loncom/homework/structuretags.pm 2006/04/13 18:35:06 1.342 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.341 2006/04/11 18:42:58 albertel Exp $ +# $Id: structuretags.pm,v 1.342 2006/04/13 18:35:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -251,7 +251,7 @@ sub problem_edit_footer { return '
'. &Apache::lonhtmlcommon::htmlareaselectactive(@Apache::lonxml::htmlareafields). - "\n\n".&Apache::loncommon::endbodytag()."\n"; + "\n\n".&Apache::loncommon::end_page(); } sub option { @@ -962,8 +962,7 @@ sub end_library { $result=&problem_edit_footer(); } elsif ($target eq 'web' && $$tagstack[0] ne 'problem' && $env{'request.state'} eq "construct") { - $result.=''.&Apache::loncommon::endbodytag(). - &Apache::lonxml::xmlend(); + $result.=''.&Apache::lonxml::xmlend(); } if ($$tagstack[0] eq 'library') { &reset_problem_globals('library') }; return $result;