--- loncom/xml/londefdef.pm 2010/11/18 17:42:15 1.426 +++ loncom/xml/londefdef.pm 2011/07/21 03:31:16 1.431 @@ -1,7 +1,8 @@ + # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.426 2010/11/18 17:42:15 raeburn Exp $ +# $Id: londefdef.pm,v 1.431 2011/07/21 03:31:16 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 .= ' -