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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 21 Oct 2003 19:40:32 -0000


albertel		Tue Oct 21 15:40:32 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - BUG#1941, <title> and <h1> generate metadata again
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.184 loncom/xml/londefdef.pm:1.185
--- loncom/xml/londefdef.pm:1.184	Tue Oct 21 09:36:32 2003
+++ loncom/xml/londefdef.pm	Tue Oct 21 15:40:32 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.184 2003/10/21 13:36:32 sakharuk Exp $
+# $Id: londefdef.pm,v 1.185 2003/10/21 19:40:32 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -344,7 +344,7 @@
     }
     if ($target eq 'meta') {
 	$currentstring='<title>';
-	&start_output();
+	&start_output($target);
     }
     return $currentstring;
 }
@@ -358,7 +358,7 @@
 	$currentstring .= '}';
     }  
     if ($target eq 'meta') {
-	&end_output();
+	&end_output($target);
 	$currentstring='</title>';
     } 
     return $currentstring;
@@ -654,7 +654,7 @@
 	$currentstring .= $pre.'{\\'.$TeXsize.' \textbf{'; 
     } elsif ($target eq 'meta') {
 	$currentstring='<subject>';
-	&start_output();
+	&start_output($target);
     }
     return $currentstring;
 }
@@ -676,7 +676,7 @@
 	}
 	$currentstring .= '}}'.$post;
     } elsif ($target eq 'meta') {
-	&end_output();
+	&end_output($target);
 	$currentstring='</subject>';
     } 
     return $currentstring;