mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Clean up the tables of child links generated by stock LaTeX2HTML so we get
consistent (lack of) vertical space between sections, and remove some of the unnecessary cruft that was added in (finally we get to *remove* something that got generated!).
This commit is contained in:
		
							parent
							
								
									f0a2ac9d5b
								
							
						
					
					
						commit
						fb6499fd9c
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -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\">" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake