[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 16 Nov 2005 20:37:38 -0000


albertel		Wed Nov 16 15:37:38 2005 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - redirection fixup
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.321 loncom/homework/structuretags.pm:1.322
--- loncom/homework/structuretags.pm:1.321	Tue Nov 15 16:13:42 2005
+++ loncom/homework/structuretags.pm	Wed Nov 16 15:37:37 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.321 2005/11/15 21:13:42 albertel Exp $
+# $Id: structuretags.pm,v 1.322 2005/11/16 20:37:37 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1358,6 +1358,9 @@
 	if ($$tagstack[-2] eq 'td' and $target eq 'tex') {$result.='\end{minipage}';} 
     } elsif ($target eq 'edit') {
 	$result.=&Apache::edit::end_table();
+    } elsif ($target eq 'modified') {
+	 $result .= $token->[2];
+	 $result.=&Apache::edit::handle_insertafter($token->[1]);
     }
     pop @Apache::inputtags::status;
     $Apache::inputtags::part='';