--- loncom/homework/inputtags.pm 2009/04/16 14:45:47 1.257 +++ loncom/homework/inputtags.pm 2010/08/08 02:00:50 1.267 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.257 2009/04/16 14:45:47 onken Exp $ +# $Id: inputtags.pm,v 1.267 2010/08/08 02:00:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -53,6 +53,7 @@ package Apache::inputtags; use HTML::Entities(); use strict; use Apache::loncommon; +use Apache::lonhtmlcommon; use Apache::lonlocal; use Apache::lonnet; use LONCAPA; @@ -185,9 +186,10 @@ sub start_textfield { if ($addchars) { $result.=&addchars('HWVAL_'.$resid,$addchars); } - &Apache::lonhtmlcommon::add_htmlareafields('HWVAL_'.$resid); + my $textareaclass = 'class="LC_richDetectHtml"'; $result.= '