--- loncom/xml/londefdef.pm 2003/08/22 16:29:15 1.164 +++ loncom/xml/londefdef.pm 2003/08/22 16:44:47 1.165 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.164 2003/08/22 16:29:15 albertel Exp $ +# $Id: londefdef.pm,v 1.165 2003/08/22 16:44:47 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -398,7 +398,7 @@ sub start_meta { } sub end_meta { - my ($target,$token,$tagstack,$parstack,$parser) = @_; + my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_; my $currentstring = ''; if ($target eq 'web') { my $args=''; @@ -407,6 +407,8 @@ sub end_meta { $currentstring = $token->[4]; } } elsif ($target eq 'tex') { + my $content=&Apache::lonxml::get_param('content',$parstack,$safeeval); + my $name=&Apache::lonxml::get_param('name',$parstack,$safeeval); if ((not defined $content) && (not defined $name)) { &Apache::lonxml::startredirection(); }