version 1.23, 2001/03/26 20:36:10
|
version 1.25, 2001/03/27 17:47:17
|
Line 220 sub end_output {
|
Line 220 sub end_output {
|
my ($target,$token,$parstack,$parser) = @_; |
my ($target,$token,$parstack,$parser) = @_; |
my $currentstring = ''; |
my $currentstring = ''; |
if ($target eq 'web') { |
if ($target eq 'web') { |
$currentstring = &Apache::lonxml::get_all_text("/meta",$$parser[$#$parser]); |
my $args=''; |
$currentstring = ''; |
if ( $#$parstack > -1 ) { $args=$$parstack[$#$parstack]; } |
|
if ($args eq '') { |
|
&Apache::lonxml::get_all_text("/meta",$$parser[$#$parser]); |
|
} else { |
|
$currentstring = $token->[4]; |
|
} |
} |
} |
if ($target eq 'meta') { |
if ($target eq 'meta') { |
unless ($token->[2]->{'http-equiv'}) { |
unless ($token->[2]->{'http-equiv'}) { |
Line 250 sub end_output {
|
Line 255 sub end_output {
|
my ($target,$token) = @_; |
my ($target,$token) = @_; |
my $currentstring = ''; |
my $currentstring = ''; |
if ($target eq 'web') { |
if ($target eq 'web') { |
# $currentstring = $token->[4]; |
$currentstring = $token->[4]; |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
$currentstring = " \\begin{document} "; |
$currentstring = " \\begin{document} "; |
} |
} |