[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 09 Feb 2005 15:45:19 -0000
www Wed Feb 9 10:45:19 2005 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
Delete only the very first 'clear="all"' - appears to work very well.
1.3.3?
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.41 loncom/xml/lontexconvert.pm:1.42
--- loncom/xml/lontexconvert.pm:1.41 Mon Jan 31 06:26:08 2005
+++ loncom/xml/lontexconvert.pm Wed Feb 9 10:45:19 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.41 2005/01/31 11:26:08 www Exp $
+# $Id: lontexconvert.pm,v 1.42 2005/02/09 15:45:19 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -112,7 +112,7 @@
$errorstring.=&tth::ttherror();
$xmlstring=~s-</font(\s*)>-</font>-g;
}
- $xmlstring=~s/\<br clear\=\"all\"/\<br/gs;
+ $xmlstring=~s/\s*\<br clear\=\"all\"/\<br/s;
$xmlstring=~s/^\s*//;
$xmlstring=~s/\s*$//;
alarm(0);