[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 24 Jun 2005 21:09:33 -0000
albertel Fri Jun 24 17:09:33 2005 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- \ wasn't printing
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.377 loncom/xml/lonxml.pm:1.378
--- loncom/xml/lonxml.pm:1.377 Fri Jun 17 13:51:15 2005
+++ loncom/xml/lonxml.pm Fri Jun 24 17:09:31 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.377 2005/06/17 17:51:15 albertel Exp $
+# $Id: lonxml.pm,v 1.378 2005/06/24 21:09:31 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -397,6 +397,7 @@
$string=~s/\\\%|\%/\\\%/g;
$string=~s/\\{|{/\\{/g;
$string=~s/\\}|}/\\}/g;
+ $string=~s/\\ensuremath\\{\\backslash\\}/\\ensuremath{\\backslash}/g;
$string=~s/\\\$|\$/\\\$/g;
$string=~s/\\\_|\_/\\\_/g;
$string=~s/([^\\]|^)(\~|\^)/$1\\$2\\strut /g;