--- loncom/homework/hint.pm 2002/02/20 22:20:23 1.26 +++ loncom/homework/hint.pm 2002/03/06 20:39:15 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.26 2002/02/20 22:20:23 albertel Exp $ +# $Id: hint.pm,v 1.27 2002/03/06 20:39:15 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,7 +59,7 @@ sub start_hintgroup { &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]); } } elsif ($target eq 'tex') { - $result .= '\noindent{\it Hint: }'; + $result .= '\keephidden{'; } @Apache::hint::which=(); return $result; @@ -81,6 +81,8 @@ sub end_hintgroup { } } elsif ($target eq 'edit') { $result.=&Apache::edit::end_table(); + } elsif ($target eq 'tex') { + $result .= '}'; } @Apache::hint::which=(); return $result;