--- loncom/interface/lonfeedback.pm 2002/10/28 14:00:18 1.36 +++ loncom/interface/lonfeedback.pm 2003/02/17 17:09:27 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.36 2002/10/28 14:00:18 www Exp $ +# $Id: lonfeedback.pm,v 1.40 2003/02/17 17:09:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -226,15 +226,29 @@ sub resource_output { } sub clear_out_html { - my $message=$ENV{'form.comment'}; - $message=~s/\<\/*m\s*\>//g; - $message=~s/\/\>\;/g; + my ($message,$override)=@_; + my $cid=$ENV{'request.course.id'}; + if (($ENV{"course.$cid.allow_limited_html_in_feedback"} =~ m/yes/i) || + ($override)) { + # allows