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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 16 Jan 2004 19:46:03 -0000


albertel		Fri Jan 16 14:46:03 2004 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  - YARG!
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.105 loncom/xml/scripttag.pm:1.106
--- loncom/xml/scripttag.pm:1.105	Wed Dec 10 17:11:56 2003
+++ loncom/xml/scripttag.pm	Fri Jan 16 14:46:03 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.105 2003/12/10 22:11:56 albertel Exp $
+# $Id: scripttag.pm,v 1.106 2004/01/16 19:46:03 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -202,8 +202,9 @@
   my $result ='';
   my $error='';
 
-  if ($target eq 'web' || $target eq 'grade' || $target eq 'meta' || 
-      $target eq 'edit' || $target eq 'answer' || $target eq 'analyze') {
+  if ($target eq 'web' || $target eq 'tex' || $target eq 'grade' ||
+      $target eq 'meta' || $target eq 'edit' || $target eq 'answer' ||
+      $target eq 'analyze') {
     $bodytext=$$parser[$#$parser]->get_text("/scriptlib");
     $bodytext=&Apache::run::evaluate($bodytext,$safeeval,
 				     $$parstack[$#$parstack]);
@@ -247,8 +248,9 @@
   my $bodytext;
   my $result ="";
   my $error='';
-  if ($target eq 'web' || $target eq 'grade' || $target eq 'meta' ||
-      $target eq 'edit' || $target eq 'answer' || $target eq 'analyze') {
+  if ($target eq 'web' || $target eq 'tex' || $target eq 'grade' ||
+      $target eq 'meta' || $target eq 'edit' || $target eq 'answer' ||
+      $target eq 'analyze') {
     $bodytext=$$parser[$#$parser]->get_text("/parserlib");
     $bodytext=&Apache::run::evaluate($bodytext,$safeeval,
 				     $$parstack[$#$parstack]);