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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 09 Jul 2003 20:04:19 -0000


sakharuk		Wed Jul  9 16:04:19 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  <dt> tag without </dt> is allowed now (this is standard HTML).
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.151 loncom/xml/londefdef.pm:1.152
--- loncom/xml/londefdef.pm:1.151	Tue Jul  8 14:12:28 2003
+++ loncom/xml/londefdef.pm	Wed Jul  9 16:04:19 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.151 2003/07/08 18:12:28 sakharuk Exp $
+# $Id: londefdef.pm,v 1.152 2003/07/09 20:04:19 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1625,6 +1625,8 @@
     } elsif ($target eq 'tex') {
 	if ($$tagstack[-2] eq 'dl') {
 	    $currentstring = ' \item [] ';  
+	} elsif ($$tagstack[-2] eq 'dt') {
+	    $currentstring = ']'; 
 	}
     } 
     return $currentstring;