--- loncom/xml/londefdef.pm 2002/02/26 22:20:43 1.45 +++ loncom/xml/londefdef.pm 2002/02/26 22:27:22 1.46 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.45 2002/02/26 22:20:43 sakharuk Exp $ +# $Id: londefdef.pm,v 1.46 2002/02/26 22:27:22 sakharuk Exp $ # # # Copyright Michigan State University Board of Trustees @@ -1511,10 +1511,11 @@ sub start_embed { } #-- sub start_insert { - my ($target,$token) = @_; + my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_; my $currentstring = ''; if ($target eq 'web') { - $currentstring .= ''.$token->[2]->{'display'}.'';; + my $display = &Apache::lonxml::get_param('display',$parstack,$safeeval); + $currentstring .= ''.$display.'';; } return $currentstring; }