--- loncom/xml/lonxml.pm 2001/01/06 15:31:27 1.45 +++ loncom/xml/lonxml.pm 2001/01/06 16:52:34 1.47 @@ -13,7 +13,7 @@ use HTML::TokeParser; use Safe; use Safe::Hole; use Opcode; -use Apache::Constants(:common); +use Apache::Constants qw(:common); sub register { my $space; @@ -44,6 +44,9 @@ sub xmlparse { if ($target eq 'meta') { $Apache::lonxml::textredirection = 0; $Apache::lonxml::on_offimport = 1; + } elsif ($target eq 'grade') { + $Apache::lonxml::textredirection = 0; + $Apache::lonxml::on_offimport = 0; } else { $Apache::lonxml::textredirection = 1; $Apache::lonxml::on_offimport = 0;