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

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 30 Jan 2004 17:27:34 -0000


sakharuk		Fri Jan 30 12:27:34 2004 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  Bug 2661 (Printing error for "capa units" problem) is fixed. I added \strut in the line 408 to avoid print accent and print real ^.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.298 loncom/xml/lonxml.pm:1.299
--- loncom/xml/lonxml.pm:1.298	Wed Jan 28 11:10:26 2004
+++ loncom/xml/lonxml.pm	Fri Jan 30 12:27:34 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.298 2004/01/28 16:10:26 albertel Exp $
+# $Id: lonxml.pm,v 1.299 2004/01/30 17:27:34 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -405,7 +405,7 @@
 	$string =~ s/_/ /g;
     } else {
 	$string=~s/\\ /\\char92 /g;
-	$string=~s/\^/\\\^ /g;
+	$string=~s/\^/\\\^\\strut /g;
 	$string=~s/\~/\\char126 /g;
 	#fixup & if it doesn't look like
         # { or α