--- loncom/xml/londefdef.pm 2010/11/01 10:52:09 1.425 +++ loncom/xml/londefdef.pm 2011/09/15 19:08:15 1.433 @@ -1,7 +1,8 @@ + # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.425 2010/11/01 10:52:09 foxr Exp $ +# $Id: londefdef.pm,v 1.433 2011/09/15 19:08:15 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -47,6 +48,7 @@ use Image::Magick; use Apache::lonmenu(); use Apache::lonmeta(); use Apache::lonlocal; +use Apache::loncommon(); use Apache::Constants qw(:common); use File::Basename; use LONCAPA(); @@ -382,6 +384,9 @@ sub start_meta { } else { $currentstring = $token->[4]; } + if ($env{'form.grade_imsexport'}) { + $currentstring = ''; + } } elsif ($target eq 'meta') { unless (&Apache::lonxml::get_param ('http-equiv',$parstack,$safeeval,undef,1)) { @@ -588,7 +593,7 @@ sub start_body { sub edit_controls { my ($nochgview) = @_; my $result .= ' -