mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 05:01:30 +00:00 
			
		
		
		
	do_cmd_rfc(): Simplify the generated markup.
This commit is contained in:
		
							parent
							
								
									52ea0ce977
								
							
						
					
					
						commit
						d52879ccdc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -229,8 +229,8 @@ sub do_cmd_rfc{ | ||||||
|     # Save the reference |     # Save the reference | ||||||
|     my $nstr = gen_index_id("RFC!RFC $rfcnumber", ''); |     my $nstr = gen_index_id("RFC!RFC $rfcnumber", ''); | ||||||
|     $index{$nstr} .= make_half_href("$CURRENT_FILE#$id"); |     $index{$nstr} .= make_half_href("$CURRENT_FILE#$id"); | ||||||
|     return ("<span class=rfc><a name=\"$id\"\nhref=\"$href\">" |     return ("<a class=rfc name=\"$id\"\nhref=\"$href\">RFC $rfcnumber</a>" | ||||||
| 	    . "RFC $rfcnumber</a></span>" .$_); |             . $_); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| sub do_cmd_deprecated{ | sub do_cmd_deprecated{ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake