mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	do_cmd_seeurl(): New function.
This commit is contained in:
		
							parent
							
								
									d85f05940e
								
							
						
					
					
						commit
						ef4d111b2a
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -1288,6 +1288,17 @@ sub do_cmd_seerfc{ | ||||||
|       . $_; |       . $_; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | sub do_cmd_seeurl{ | ||||||
|  |     local($_) = @_; | ||||||
|  |     my $url = next_argument(); | ||||||
|  |     my $text = next_argument(); | ||||||
|  |     return '<dl compact class="seeurl">' | ||||||
|  |       . "\n    <dt><a href=\"$url\"" | ||||||
|  |       . "\n        class=\"url\">$url</a>" | ||||||
|  |       . "\n    <dd>$text\n  </dl>" | ||||||
|  |       . $_; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| sub do_cmd_seetext{ | sub do_cmd_seetext{ | ||||||
|     local($_) = @_; |     local($_) = @_; | ||||||
|     my $content = next_argument(); |     my $content = next_argument(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake