mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 15:41:43 +00:00 
			
		
		
		
	add a comment explaining a particular text transformation
This commit is contained in:
		
							parent
							
								
									758f5ea419
								
							
						
					
					
						commit
						c6864832d7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -158,6 +158,9 @@ sub do_cmd_hackscore{
 | 
			
		|||
 | 
			
		||||
sub codetext($){
 | 
			
		||||
    my $text = "$_[0]";
 | 
			
		||||
    # Make sure that "---" is not converted to "--" later when
 | 
			
		||||
    # LaTeX2HTML tries converting em-dashes based on the conventional
 | 
			
		||||
    # TeX font ligatures:
 | 
			
		||||
    $text =~ s/--/-\-/go;
 | 
			
		||||
    return $text;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue