--- loncom/homework/randomlabel.pm 2005/07/14 04:17:44 1.80 +++ loncom/homework/randomlabel.pm 2005/12/01 18:46:31 1.81 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # random labelling tool # -# $Id: randomlabel.pm,v 1.80 2005/07/14 04:17:44 albertel Exp $ +# $Id: randomlabel.pm,v 1.81 2005/12/01 18:46:31 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -551,7 +551,7 @@ sub start_label { &Apache::lonxml::startredirection; } elsif ($target eq 'edit') { $result.=&Apache::edit::tag_start($target,$token,"$type Label"); - my $text=&Apache::lonxml::get_all_text("/label",$parser); + my $text=&Apache::lonxml::get_all_text("/label",$parser,$style); if ($type eq 'image') { $result.=&Apache::edit::end_row(). &Apache::edit::start_spanning_row();