]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change the way \textasciitilde is implemented so it works more consistently
authorFred Drake <fdrake@acm.org>
Wed, 13 Mar 2002 02:45:58 +0000 (02:45 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 13 Mar 2002 02:45:58 +0000 (02:45 +0000)
(dropping tildes into data that still goes through LaTeX-like processing is
a bad idea).

Doc/perl/python.perl

index 3b551390c7e85d1f7ac076643d4e2c4365600a62..176e90bf6bde3f2f129418433b14c37907cdbf1a 100644 (file)
@@ -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_infinity{ '&infin;' . @_[0]; }