[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
www
lon-capa-cvs@mail.lon-capa.org
Fri, 25 Oct 2002 15:08:09 -0000
www Fri Oct 25 11:08:09 2002 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
What used to be a \n should at least be replaced by a space.
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.10 loncom/xml/lontexconvert.pm:1.11
--- loncom/xml/lontexconvert.pm:1.10 Fri Oct 25 09:37:00 2002
+++ loncom/xml/lontexconvert.pm Fri Oct 25 11:08:09 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.10 2002/10/25 13:37:00 www Exp $
+# $Id: lontexconvert.pm,v 1.11 2002/10/25 15:08:09 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -101,7 +101,7 @@
sub to_convert {
my ($string) = @_;
- $string=~s/\<br\s*\/*\>//g;
+ $string=~s/\<br\s*\/?\>/ /g;
return &converted(\$string);
}