--- loncom/homework/inputtags.pm 2008/11/25 13:16:17 1.249 +++ loncom/homework/inputtags.pm 2010/11/09 17:41:47 1.271.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.249 2008/11/25 13:16:17 jms Exp $ +# $Id: inputtags.pm,v 1.271.2.1 2010/11/09 17:41:47 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.= '