mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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($){
|
sub codetext($){
|
||||||
my $text = "$_[0]";
|
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;
|
$text =~ s/--/-\-/go;
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue