mirror of https://github.com/python/cpython
add a comment explaining a particular text transformation
This commit is contained in:
parent
758f5ea419
commit
c6864832d7
|
@ -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…
Reference in New Issue