[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm

www lon-capa-cvs@mail.lon-capa.org
Fri, 25 Oct 2002 13:37:01 -0000


www		Fri Oct 25 09:37:01 2002 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  Bug #872
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.9 loncom/xml/lontexconvert.pm:1.10
--- loncom/xml/lontexconvert.pm:1.9	Mon Sep 16 17:25:22 2002
+++ loncom/xml/lontexconvert.pm	Fri Oct 25 09:37:00 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.9 2002/09/16 21:25:22 albertel Exp $
+# $Id: lontexconvert.pm,v 1.10 2002/10/25 13:37:00 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -101,6 +101,7 @@
 
 sub to_convert {
     my ($string) = @_;
+    $string=~s/\<br\s*\/*\>//g;
     return &converted(\$string);
 }