[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm

www lon-capa-cvs@mail.lon-capa.org
Sat, 24 Jul 2004 18:19:39 -0000


www		Sat Jul 24 14:19:39 2004 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  Spellchecker in Feedback Preview (somehow again missing HTML tags)
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.105 loncom/interface/lonfeedback.pm:1.106
--- loncom/interface/lonfeedback.pm:1.105	Sat Jul 24 14:13:04 2004
+++ loncom/interface/lonfeedback.pm	Sat Jul 24 14:19:38 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.105 2004/07/24 18:13:04 www Exp $
+# $Id: lonfeedback.pm,v 1.106 2004/07/24 18:19:38 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -36,6 +36,7 @@
 use Apache::lontexconvert();
 use Apache::lonlocal; # must not have ()
 use Apache::lonhtmlcommon();
+use Apache::lonspeller();
 
 sub discussion_open {
     my ($status)=@_;
@@ -1745,6 +1746,7 @@
     my $r=shift;
     my $message=&clear_out_html($ENV{'form.comment'});
     $message=~s/\n/\<br \/\>/g;
+    $message=&Apache::lonspeller::markeduptext($message);
     $message=&Apache::lontexconvert::msgtexconverted($message);
     my $subject=&clear_out_html($ENV{'form.subject'});
     $subject=~s/\n/\<br \/\>/g;