[Python-checkins] python/dist/src/Doc/perl python.perl,1.159,1.160
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Nov 11 06:42:16 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8340
Modified Files:
python.perl
Log Message:
add a comment explaining a particular text transformation
Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- python.perl 10 Nov 2004 19:22:02 -0000 1.159
+++ python.perl 11 Nov 2004 05:42:13 -0000 1.160
@@ -158,6 +158,9 @@
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;
}
More information about the Python-checkins
mailing list