[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 04 Nov 2003 19:01:01 -0000


albertel		Tue Nov  4 14:01:01 2003 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - BUG#762
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.141 loncom/interface/loncommon.pm:1.142
--- loncom/interface/loncommon.pm:1.141	Mon Nov  3 16:29:23 2003
+++ loncom/interface/loncommon.pm	Tue Nov  4 14:01:01 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.141 2003/11/03 21:29:23 albertel Exp $
+# $Id: loncommon.pm,v 1.142 2003/11/04 19:01:01 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1771,7 +1771,7 @@
 	       } else {
 		  $value=$returnhash{$version.':'.$_};
 	       }
-	       $prevattempts.='<td>'.$value.'&nbsp;</td>';   
+	       $prevattempts.='<td>'.&Apache::lonnet::unescape($value).'&nbsp;</td>';   
 	    }
 	 }
       }
@@ -1783,6 +1783,7 @@
 	} else {
 	  $value=$lasthash{$_};
 	}
+	$value=&Apache::lonnet::unescape($value);
 	if ($_ =~/$regexp$/ && (defined &$gradesub)) {$value = &$gradesub($value)}
 	$prevattempts.='<td>'.$value.'&nbsp;</td>';
       }