--- loncom/homework/structuretags.pm 2002/08/29 21:21:09 1.109 +++ loncom/homework/structuretags.pm 2002/09/03 01:19:13 1.110 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.109 2002/08/29 21:21:09 albertel Exp $ +# $Id: structuretags.pm,v 1.110 2002/09/03 01:19:13 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -462,7 +462,8 @@ sub start_library { } elsif ($target eq 'modified') { $result=$token->[4]; $result.=&Apache::edit::handle_insert(); - } elsif ($target eq 'web' && $ENV{'request.state'} eq "construct" ) { + } elsif ($target eq 'web' && $$tagstack[0] ne 'problem' && + $ENV{'request.state'} eq "construct" ) { ($result,$head_tag_start,$body_tag_start,$form_tag_start)= &page_start($target,$token,$tagstack,$parstack,$parser,$safeeval); my $name=&get_resource_name($parstack,$safeeval); @@ -536,7 +537,7 @@ sub end_while { return ""; } -# +# # .. # .. # ..