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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 21 Aug 2003 17:07:57 -0000


albertel		Thu Aug 21 13:07:57 2003 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - probably should do the same with <tex> btw BUG#2005,2058 are fixed with this
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.130 loncom/publisher/lonpublisher.pm:1.131
--- loncom/publisher/lonpublisher.pm:1.130	Thu Aug 21 13:01:07 2003
+++ loncom/publisher/lonpublisher.pm	Thu Aug 21 13:07:57 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.130 2003/08/21 17:01:07 albertel Exp $
+# $Id: lonpublisher.pm,v 1.131 2003/08/21 17:07:57 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -719,7 +719,7 @@
 		if (!$endtag) { if ($token->[4]=~m:/>$:) { $endtag=' /'; }; }
 		$outstring.='<'.$tag.$newparmstring.$endtag.'>';
 		if ($lctag eq 'm' || $lctag eq 'script' 
-                    || $lctag eq 'display') {
+                    || $lctag eq 'display' || $lctag eq 'tex') {
 		    $outstring.=&get_all_text_unbalanced('/'.$lctag,\@parser);
 		}
 	    } elsif ($token->[0] eq 'E') {