--- loncom/interface/lonchat.pm	2003/06/20 15:01:02	1.5
+++ loncom/interface/lonchat.pm	2003/06/23 22:25:14	1.6
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Chat
 #
-# $Id: lonchat.pm,v 1.5 2003/06/20 15:01:02 bowersj2 Exp $
+# $Id: lonchat.pm,v 1.6 2003/06/23 22:25:14 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -39,7 +39,7 @@ sub handler {
     return OK if $r->header_only;
 
     if ($ENV{'form.newchat'}) {
-	&Apache::lonnet::chatsend($ENV{'form.newchat'},$ENV{'form.anonymous'});
+	&Apache::lonnet::chatsend(&Apache::lonfeedback::clear_out_html($ENV{'form.newchat'}),$ENV{'form.anonymous'});
     }
 # --------------------------------------------------- Print login screen header
     my $latexHelp = Apache::loncommon::helpLatexCheatsheet();