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

raeburn raeburn at source.lon-capa.org
Tue Aug 9 19:49:17 EDT 2016


raeburn		Tue Aug  9 23:49:17 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/xml	lonxml.pm 
  Log:
  - For 2.11
    - Backport 1.556
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.531.2.20 loncom/xml/lonxml.pm:1.531.2.21
--- loncom/xml/lonxml.pm:1.531.2.20	Fri Aug  5 20:57:58 2016
+++ loncom/xml/lonxml.pm	Tue Aug  9 23:49:16 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.531.2.20 2016/08/05 20:57:58 raeburn Exp $
+# $Id: lonxml.pm,v 1.531.2.21 2016/08/09 23:49:16 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -440,9 +440,9 @@
     } else {
 	$string=~s/\\/\\ensuremath{\\backslash}/g;
 	$string=~s/\\\%|\%/\\\%/g;
-	$string=~s/\\{|{/\\{/g;
+	$string=~s/\\\{|{/\\{/g;
 	$string=~s/\\}|}/\\}/g;
-	$string=~s/\\ensuremath\\{\\backslash\\}/\\ensuremath{\\backslash}/g;
+	$string=~s/\\ensuremath\\\{\\backslash\\}/\\ensuremath{\\backslash}/g;
 	$string=~s/\\\$|\$/\\\$/g;
 	$string=~s/\\\_|\_/\\\_/g;
         $string=~s/([^\\]|^)(\~|\^)/$1\\$2\\strut /g;




More information about the LON-CAPA-cvs mailing list