@@ -170,7 +170,7 @@ ($$$)
170170 my $r = get_my_icon($1 );
171171 $s =~ s /\< tex2html_[a-z_]+_visible_mark\> / $r / ;
172172 }
173- $s =~ s / <[aA] / <a rel="$rel " title="$title " \n / ;
173+ $s =~ s / <[aA] / <a rel="$rel " title="$title "\n / ;
174174 $s =~ s / HREF=/ href=/ ;
175175 return $s ;
176176 }
@@ -432,7 +432,7 @@ sub do_cmd_tableofcontents {
432432 my ($closures , $reopens ) = preserve_open_tags();
433433 anchor_label(' contents' , $CURRENT_FILE , $_ ); # this is added
434434 $MY_CONTENTS_PAGE = " $CURRENT_FILE " ;
435- join (' ' , " <br /> \n \\ tableofchildlinks[off]" , $closures
435+ join (' ' , " \\ tableofchildlinks[off]" , $closures
436436 , make_section_heading($toc_title , ' h2' ), $toc_mark
437437 , $reopens , $_ );
438438}
@@ -725,23 +725,16 @@ ($$)
725725 $charset = $CHARSET ;
726726 $charset =~ s / _/ \- / go ;
727727 }
728- # Remove section number from the title for use in the
729- # <meta name='description' ...> element in the document head.
730- my $metatitle = " $title " ;
731- $metatitle =~ s / ^\d +(\.\d +)*\s *// ;
732- $metatitle = meta_information($metatitle );
733- $metatitle =~ s / NAME=/ name=/ g ;
734- $metatitle =~ s / CONTENT=/ content=/ g ;
735-
736728 join (' ' ,
737729 $MY_PARTIAL_HEADER ,
738- $metatitle ,
739730 " <title>" , $title , " </title>\n </head>\n <body$body >" );
740731}
741732
742733sub replace_morelinks {
743734 $more_links =~ s / REL=/ rel=/ g ;
744735 $more_links =~ s / HREF=/ href=/ g ;
736+ $more_links =~ s / <LINK / <link / g ;
737+ $more_links =~ s / ">/ " \/ >/ g ;
745738 $_ =~ s / $more_links_mark/ $more_links / e ;
746739}
747740
0 commit comments