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

foxr foxr@source.lon-capa.org
Wed, 24 Feb 2010 12:14:45 -0000


foxr		Wed Feb 24 12:14:45 2010 EDT

  Modified files:              
    /loncom/homework	outputtags.pm 
  Log:
  Fix the fix for ensuring due dates are on a blank line.
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.56 loncom/homework/outputtags.pm:1.57
--- loncom/homework/outputtags.pm:1.56	Sun Nov  1 16:10:35 2009
+++ loncom/homework/outputtags.pm	Wed Feb 24 12:14:45 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.56 2009/11/01 16:10:35 foxr Exp $
+# $Id: outputtags.pm,v 1.57 2010/02/24 12:14:45 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -171,7 +171,7 @@
 		    # at the start of the line to ensure it won't overlap
 		    # the 1 col boundary.
 
-		    $result = '\\\\ \framebox{'
+		    $result = '\vspace{1.0 ex} \framebox{'
     			       .&mt('Due').' '.$duetext.'}';
 		} else {
 		    $result = &mt('Due') . ' '.$duetext;