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

www lon-capa-cvs@mail.lon-capa.org
Thu, 29 Jul 2004 13:38:31 -0000


www		Thu Jul 29 09:38:31 2004 EDT

  Modified files:              
    /loncom/interface	lonspeller.pm 
  Log:
  Might as well also "spellcheck" the LaTeX
  
  
Index: loncom/interface/lonspeller.pm
diff -u loncom/interface/lonspeller.pm:1.6 loncom/interface/lonspeller.pm:1.7
--- loncom/interface/lonspeller.pm:1.6	Tue Jul 27 19:35:34 2004
+++ loncom/interface/lonspeller.pm	Thu Jul 29 09:38:31 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines for Aspell
 #
-# $Id: lonspeller.pm,v 1.6 2004/07/27 23:35:34 www Exp $
+# $Id: lonspeller.pm,v 1.7 2004/07/29 13:38:31 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -33,6 +33,7 @@
 use Apache::Constants qw(:common);
 use Text::Aspell;
 use Apache::lonlocal;
+use Apache::lontexconvert();
 use HTML::LCParser;
 use strict;
 
@@ -126,7 +127,8 @@
     $r->print('<html><head><title>'.
 	      &mt('Spell Checker').
 	      '</title></head><body bgcolor="#DDDDDD">'.
-	      &markeduptext($ENV{'form.text'}).
+	      &Apache::lontexconvert::msgtexconverted(
+				     &markeduptext($ENV{'form.text'})).
 	      '</body></html>');
     return OK;
 }