[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

www lon-capa-cvs-allow@mail.lon-capa.org
Sat, 17 May 2008 12:08:45 -0000


www		Sat May 17 08:08:45 2008 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  Bug #5704: have to ignore everything in <answer>-environment
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.234 loncom/publisher/lonpublisher.pm:1.235
--- loncom/publisher/lonpublisher.pm:1.234	Mon May 12 19:47:49 2008
+++ loncom/publisher/lonpublisher.pm	Sat May 17 08:08:45 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.234 2008/05/12 23:47:49 www Exp $
+# $Id: lonpublisher.pm,v 1.235 2008/05/17 12:08:45 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -775,7 +775,7 @@
 		}
 		if (!$endtag) { if ($token->[4]=~m:/>$:) { $endtag=' /'; }; }
 		$outstring.='<'.$tag.$newparmstring.$endtag.'>';
-		if ($lctag eq 'm' || $lctag eq 'script' 
+		if ($lctag eq 'm' || $lctag eq 'script' || $lctag eq 'answer' 
                     || $lctag eq 'display' || $lctag eq 'tex') {
 		    $outstring.=&get_all_text_unbalanced('/'.$lctag,\@parser);
 		}