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

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 25 Feb 2003 21:27:07 -0000


sakharuk		Tue Feb 25 16:27:07 2003 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
   Corrected comments inside problems for the case when you use variable interpolation inside of the comments.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.238 loncom/xml/lonxml.pm:1.239
--- loncom/xml/lonxml.pm:1.238	Wed Feb 19 12:48:05 2003
+++ loncom/xml/lonxml.pm	Tue Feb 25 16:27:07 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.238 2003/02/19 17:48:05 albertel Exp $
+# $Id: lonxml.pm,v 1.239 2003/02/25 21:27:07 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -486,7 +486,8 @@
 	if ($metamode<1) {
 	    my $text=$token->[1];
 	    if ($token->[0] eq 'C' && $target eq 'tex') {
-		$text = '%'.$text."\n";
+		$text = '';
+#		$text = '%'.$text."\n";
 	    }
 	    $result.=$text;
 	}