182 |
my $st = $opt{short_title} || $opt{title}; |
my $st = $opt{short_title} || $opt{title}; |
183 |
push @{$self->{nav}}, |
push @{$self->{nav}}, |
184 |
[$id => $st => $opt{text}] if $self->{section_rank} == 2; |
[$id => $st => $opt{text}] if $self->{section_rank} == 2; |
185 |
|
|
186 |
$self->start_tag ('script'); |
unless ($opt{notab}) { |
187 |
$self->html (qq[ addSectionLink ('$id', ']); |
$self->start_tag ('script'); |
188 |
$self->nl_text ($st, text => $opt{text}); |
$self->html (qq[ addSectionLink ('$id', ']); |
189 |
if (defined $opt{parent_id}) { |
$self->nl_text ($st, text => $opt{text}); |
190 |
$self->html (q[', '] . $opt{parent_id}); |
if (defined $opt{parent_id}) { |
191 |
|
$self->html (q[', '] . $opt{parent_id}); |
192 |
|
} |
193 |
|
$self->html (q[') ]); |
194 |
|
$self->end_tag ('script'); |
195 |
} |
} |
|
$self->html (q[') ]); |
|
|
$self->end_tag ('script'); |
|
196 |
} |
} |
197 |
} else { |
} else { |
198 |
$self->html ('>'); |
$self->html ('>'); |
566 |
{value => 'text/x-css-inline'}, |
{value => 'text/x-css-inline'}, |
567 |
{value => 'text/x-h2h'}, |
{value => 'text/x-h2h'}, |
568 |
{value => 'text/html'}, |
{value => 'text/html'}, |
569 |
|
{value => 'text/x-regexp-js'}, |
570 |
{value => 'text/x-webidl'}, |
{value => 'text/x-webidl'}, |
571 |
{value => 'application/xhtml+xml'}, |
{value => 'application/xhtml+xml'}, |
572 |
{value => 'application/xml'}, |
{value => 'application/xml'}, |