--- loncom/homework/hint.pm 2005/08/26 18:57:25 1.60 +++ loncom/homework/hint.pm 2005/12/01 18:46:31 1.61 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.60 2005/08/26 18:57:25 albertel Exp $ +# $Id: hint.pm,v 1.61 2005/12/01 18:46:31 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -57,7 +57,7 @@ sub start_hintgroup { if ( ($showoncorrect ne 'yes' && &Apache::response::show_answer()) || ( $numtries < $hinttries) ) { &Apache::lonxml::debug("Grabbin all"); - &Apache::lonxml::get_all_text("/hintgroup",$parser); + &Apache::lonxml::get_all_text("/hintgroup",$parser,$style); } &Apache::lonxml::startredirection; } elsif ($target eq 'tex') { @@ -322,10 +322,10 @@ sub start_hintpart { foreach $which (@Apache::hint::which) { if ($which eq $on) { $show = 1; last } } } if (!$show) { - &Apache::lonxml::get_all_text("/hintpart",$parser); + &Apache::lonxml::get_all_text("/hintpart",$parser,$style); } } elsif ($target eq 'grade') { - &Apache::lonxml::get_all_text("/hintpart",$parser); + &Apache::lonxml::get_all_text("/hintpart",$parser,$style); } elsif ($target eq 'edit') { $result.= &Apache::edit::tag_start($target,$token); $result.= &Apache::edit::text_arg('On:','on',$token);