--- loncom/xml/londefdef.pm 2001/03/23 22:08:05 1.21 +++ loncom/xml/londefdef.pm 2001/03/26 15:42:05 1.22 @@ -19,12 +19,12 @@ sub BEGIN { #-- sub start_output { my ($target) = @_; - if ($target eq 'meta') { $Apache::lonxml::metamode = 0; } + if ($target eq 'meta') { $Apache::lonxml::metamode--; } return ''; } sub end_output { my ($target) = @_; - if ($target eq 'meta') { $Apache::lonxml::metamode = 1; } + if ($target eq 'meta') { $Apache::lonxml::metamode++; } return ''; } #-- tag