summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-13 02:44:50 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-13 02:44:50 (GMT)
commitf171ad9d994c87441a7a9c7f458b38ad38a7bc79 (patch)
treec987832b9c5f274177a327b69a429c554547ec3d /Doc/perl
parentdc0b61d0b1afccc3d7fcd68d746975930da25e5a (diff)
downloadcpython-f171ad9d994c87441a7a9c7f458b38ad38a7bc79.zip
cpython-f171ad9d994c87441a7a9c7f458b38ad38a7bc79.tar.gz
cpython-f171ad9d994c87441a7a9c7f458b38ad38a7bc79.tar.bz2
Change the way \textasciitilde is implemented so it works more consistently
(dropping tildes into data that still goes through LaTeX-like processing is a bad idea).
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 8968df3..332f518 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -85,7 +85,7 @@ sub do_cmd_let{
# the older version of LaTeX2HTML we use doesn't support this, but we use it:
-sub do_cmd_textasciitilde{ '~' . @_[0]; }
+sub do_cmd_textasciitilde{ '&#126;' . @_[0]; }
sub do_cmd_textasciicircum{ '^' . @_[0]; }
sub do_cmd_textbar{ '|' . @_[0]; }
sub do_cmd_textgreater{ '&gt;' . @_[0]; }