--- loncom/homework/inputtags.pm 2011/06/06 23:28:42 1.290 +++ loncom/homework/inputtags.pm 2012/09/10 09:50:57 1.308 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.290 2011/06/06 23:28:42 www Exp $ +# $Id: inputtags.pm,v 1.308 2012/09/10 09:50:57 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -185,7 +185,7 @@ sub start_textfield { } } unless ($newvariation) { - $oldresponse = &HTML::Entities::encode($Apache::lonhomework::history{"resource.$partid.$resid.submission"},'<>&"'); + $oldresponse = $Apache::lonhomework::history{"resource.$partid.$resid.submission"}; } if ($Apache::inputtags::status[-1] eq 'CAN_ANSWER') { my $cols = &Apache::lonxml::get_param('cols',$parstack,$safeeval); @@ -197,10 +197,12 @@ sub start_textfield { if ($addchars) { $result.=&addchars('HWVAL_'.$resid,$addchars); } - my $textareaclass = 'class="LC_richDetectHtml"'; - $result.= '