--- test/html-webhacc/WebHACC/Output.pm 2008/08/15 14:11:13 1.19
+++ test/html-webhacc/WebHACC/Output.pm 2008/08/15 16:44:03 1.20
@@ -181,7 +181,7 @@
if ($self->{section_rank} == 2 or length $opt{parent_id}) {
my $st = $opt{short_title} || $opt{title};
push @{$self->{nav}},
- [$id => $st => $opt{text}];
+ [$id => $st => $opt{text}] if $self->{section_rank} == 2;
$self->start_tag ('script');
$self->html (qq[ addSectionLink ('$id', ']);