summaryrefslogtreecommitdiffstats
path: root/Doc/perl/l2hinit.perl
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/perl/l2hinit.perl')
-rw-r--r--Doc/perl/l2hinit.perl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index 35c1d8b..61c2ff1 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -182,6 +182,14 @@ sub make_nav_panel {
return $s;
}
+sub add_child_links {
+ my $toc = add_real_child_links(@_);
+ $toc =~ s|\s*</[aA]>|</a>|g;
+ $toc =~ s/ NAME=\"tex2html\d+\"\s*href=/ href=/gi;
+ $toc =~ s|</UL>(\s*<BR>)?|</ul>|gi;
+ return $toc;
+}
+
sub get_version_text {
if ($PACKAGE_VERSION ne '' && $t_date) {
return ("<span class=\"release-info\">"