--- loncom/homework/edit.pm 2004/06/08 01:32:01 1.84 +++ loncom/homework/edit.pm 2004/07/27 23:35:33 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.84 2004/06/08 01:32:01 www Exp $ +# $Id: edit.pm,v 1.85 2004/07/27 23:35:33 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -504,7 +504,9 @@ sub editfield { '" cols="'.$cols.'" name="homework_edit_'. $Apache::lonxml::curdepth.'" id="homework_edit_'. $Apache::lonxml::curdepth.'">'. - &HTML::Entities::encode($data,'<>&"').''."\n"; + &HTML::Entities::encode($data,'<>&"').''. + ($usehtmlarea?&Apache::lonhtmlcommon::spelllink('lonhomework', + 'homework_edit_'.$Apache::lonxml::curdepth):'')."\n"; } sub modifiedfield {