[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 27 Jul 2004 14:17:39 -0000


raeburn		Tue Jul 27 10:17:39 2004 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  Reverting to 1.37. regexp on discussion post messages moved back to lonfeedback.pm 
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.38 loncom/xml/lontexconvert.pm:1.39
--- loncom/xml/lontexconvert.pm:1.38	Thu Jul 22 19:18:00 2004
+++ loncom/xml/lontexconvert.pm	Tue Jul 27 10:17:39 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.38 2004/07/22 23:18:00 raeburn Exp $
+# $Id: lontexconvert.pm,v 1.39 2004/07/27 14:17:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -190,16 +190,11 @@
 }
 
 sub msgtexconverted {
-    my ($message,$email,$priorversions) = @_;
+    my ($message,$email) = @_;
     $errorstring='';
     &init_tth();
     my $outmessage='';
     my $tex=0;
-    if ($priorversions > 0) {
-        if ($message =~ /::::\d+::::(.+)$/) {
-            $message = $1;
-        }
-    }
     foreach (split(/(?:\&lt\;|\<)\/*m\s*(?:\&gt\;|\>)/i,$message)) {
 	if ($tex) {
 	    if ($email) {