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

www lon-capa-cvs@mail.lon-capa.org
Tue, 09 Mar 2004 15:09:14 -0000


www		Tue Mar  9 10:09:14 2004 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  &mt cannot translate '['
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.33 loncom/xml/lontexconvert.pm:1.34
--- loncom/xml/lontexconvert.pm:1.33	Thu Mar  4 10:46:43 2004
+++ loncom/xml/lontexconvert.pm	Tue Mar  9 10:09:14 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.33 2004/03/04 15:46:43 albertel Exp $
+# $Id: lontexconvert.pm,v 1.34 2004/03/09 15:09:14 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -87,7 +87,7 @@
 $Apache::lontexconvert::messedup=0;
 sub converted {
     my $texstring=shift;
-    my $xmlstring=&mt('[UNDISPLAYABLE]');
+    my $xmlstring='['.&mt('UNDISPLAYABLE').']';
     if ($Apache::lontexconvert::messedup) {
 	return &mt('[TeX Unconverted Due To Previous Errors]');
     }