[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 06 Nov 2003 15:27:07 -0000
albertel Thu Nov 6 10:27:07 2003 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- tth generates
</font
>
this seems to annoy some sub version of IE.
Thus we remove the whitespace in the end font tag
(BUG#2189)
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.27 loncom/xml/lontexconvert.pm:1.28
--- loncom/xml/lontexconvert.pm:1.27 Sat Oct 18 11:53:00 2003
+++ loncom/xml/lontexconvert.pm Thu Nov 6 10:27:07 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.27 2003/10/18 15:53:00 www Exp $
+# $Id: lontexconvert.pm,v 1.28 2003/11/06 15:27:07 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -97,6 +97,7 @@
} else {
$xmlstring=&tth::tth($$texstring);
$errorstring.=&tth::ttherror();
+ $xmlstring=~s-</font(\s*)>-</font>-g;
}
$xmlstring=~s/^\s*//;
$xmlstring=~s/\s*$//;