--- loncom/homework/edit.pm 2004/02/17 22:02:43 1.80
+++ loncom/homework/edit.pm 2004/03/30 08:20:49 1.81
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.80 2004/02/17 22:02:43 albertel Exp $
+# $Id: edit.pm,v 1.81 2004/03/30 08:20:49 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -475,7 +475,7 @@ sub textarea_sizes {
sub editline {
my ($tag,$data,$description,$size)=@_;
- $data=&HTML::Entities::encode($data);
+ $data=&HTML::Entities::encode($data,'<>&"');
if ($description) { $description="
".$description."
"; }
my $result = <<"END";
$description
@@ -496,7 +496,7 @@ sub editfield {
return $description."\n".' '."\n";
+ &HTML::Entities::encode($data,'<>&"').''."\n";
}
sub modifiedfield {