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

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 03 Jun 2004 18:08:04 -0000


sakharuk		Thu Jun  3 14:08:04 2004 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Additional correction of <br> tag.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.219 loncom/xml/londefdef.pm:1.220
--- loncom/xml/londefdef.pm:1.219	Thu Jun  3 10:57:05 2004
+++ loncom/xml/londefdef.pm	Thu Jun  3 14:08:03 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.219 2004/06/03 14:57:05 sakharuk Exp $
+# $Id: londefdef.pm,v 1.220 2004/06/03 18:08:03 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1154,7 +1154,8 @@
     if ($target eq 'web') {
 	$currentstring .= $token->[4];
     } elsif ($target eq 'tex') {
-	if (($$tagstack[-2] eq 'b') || ($$tagstack[-2] eq 'strong')) {
+	if (($$tagstack[-2] eq 'b') || ($$tagstack[-2] eq 'strong') ||
+            ($$tagstack[-2] eq 'ol') || ($$tagstack[-2] eq 'ul')) {
 	    $currentstring .= ' \vskip 0 mm ';
 	} elsif ($$tagstack[-2] ne 'sub' && $$tagstack[-2] ne 'sup') {
 	    $currentstring .= '\strut \\\\ \strut ';