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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 26 Aug 2004 22:08:31 -0000


albertel		Thu Aug 26 18:08:31 2004 EDT

  Modified files:              
    /loncom/homework	radiobuttonresponse.pm 
  Log:
  - BUG#3194, removing unneded newlines
  
  
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.90 loncom/homework/radiobuttonresponse.pm:1.91
--- loncom/homework/radiobuttonresponse.pm:1.90	Tue Aug 24 19:32:13 2004
+++ loncom/homework/radiobuttonresponse.pm	Thu Aug 26 18:08:30 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.90 2004/08/24 23:32:13 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.91 2004/08/26 22:08:30 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -251,7 +251,7 @@
 	    if ($Apache::response::foilgroup{$name.'.value'} ne 'unused') {
 		$result.="<br /><input type=\"radio\" name=\"HWVAL_$Apache::inputtags::response['-1']\" value=\"$temp\" ";
 		if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
-		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</input>\n";
+		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</input>";
 		$temp++;
 	    }
 	}
@@ -421,7 +421,7 @@
 		$result.='Incorrect:';
 	    }
 	    $result.=$Apache::response::foilgroup{$name.'.text'};
-	    if ($target eq 'web') { $result.="</input>\n"; }
+	    if ($target eq 'web') { $result.="</input>"; }
 	    if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
 		if ($target ne 'tex') { $result.='</b>';} else {$result.='}';}
 	    }
@@ -456,7 +456,7 @@
 	    if ($target ne 'tex') { 
 		$result.="<input type=\"radio\" name=\"HWVAL_$Apache::inputtags::response['-1']\" value=\"$temp\" ";
 		if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
-		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</input>\n";
+		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</input>";
 	    } else {
 		if ($Apache::lonhomework::type eq 'exam') {
 		    $result .= '{\small \textbf{'.$alphabet[$i].'}}$\bigcirc$'.$Apache::response::foilgroup{$name.'.text'}.'\\\\';  #' stupid emacs