--- loncom/interface/lonmeta.pm 2004/02/09 20:22:18 1.60
+++ loncom/interface/lonmeta.pm 2004/04/06 15:07:41 1.62
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.60 2004/02/09 20:22:18 matthew Exp $
+# $Id: lonmeta.pm,v 1.62 2004/04/06 15:07:41 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -302,8 +302,8 @@ sub prettyprint {
($type eq 'sequsage_list')) {
return join('
',map {
my $url=&Apache::lonnet::clutter($_);
- '
'.&Apache::lonnet::gettitle($url).''.
- &Apache::lonhtmlcommon::crumbs($url,'preview','');
+ ''.&Apache::lonnet::gettitle($url).''.
+ &Apache::lonhtmlcommon::crumbs($url,'preview','',undef,'+0');
} split(/\s*\,\s*/,$value));
}
# Evaluations
@@ -711,7 +711,7 @@ ENDEDIT
print $mfh ' '.$_.'="'.$value.'"';
}
print $mfh '>'.
- &HTML::Entities::encode($Apache::lonpublisher::metadatafields{$unikey})
+ &HTML::Entities::encode($Apache::lonpublisher::metadatafields{$unikey},'<>&"')
.''.$tag.'>';
}
}