--- loncom/homework/inputtags.pm 2009/12/06 21:00:15 1.260.4.1 +++ loncom/homework/inputtags.pm 2010/09/05 20:57:42 1.271 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.260.4.1 2009/12/06 21:00:15 raeburn Exp $ +# $Id: inputtags.pm,v 1.271 2010/09/05 20:57:42 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.= '