--- loncom/interface/lonfeedback.pm 2003/09/15 19:56:44 1.57 +++ loncom/interface/lonfeedback.pm 2003/09/19 16:12:50 1.61 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.57 2003/09/15 19:56:44 www Exp $ +# $Id: lonfeedback.pm,v 1.61 2003/09/19 16:12:50 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -365,14 +365,14 @@ sub clear_out_html { # allows


      • #
        my %html=(B=>1, I=>1, P=>1, A=>1, LI=>1, OL=>1, UL=>1, EM=>1, - BR=>1, TT=>1, STRONG=>1, BLOCKQUOTE=>1, DIV=>1, IMG=>1); + BR=>1, TT=>1, STRONG=>1, BLOCKQUOTE=>1, DIV=>1, IMG=>1, + M=>1); $message =~ s/\<(\/?\s*(\w+)[^\>\<]*)/ {($html{uc($2)}&&(length($1)<1000))?"\<$1":"\<$1"}/ge; $message =~ s/(\]*)\>/ {($html{uc($2)}&&(length($1)<1000))?"$1\>":"$1\>"}/ge; } else { - $message=~s/\<\/*m\s*\>//g; $message=~s/\/\>\;/g; } @@ -737,9 +737,9 @@ sub handler { } } else { # Ambiguous Problem Resource - + if ( &Apache::lonnet::mod_perl_version() == 2 ) { &Apache::lonnet::cleanenv(); - + } $r->internal_redirect('/adm/ambiguous'); } }