]> 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:46:17 +0000 (02:46 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 13 Mar 2002 02:46:17 +0000 (02:46 +0000)
(dropping tildes into data that still goes through LaTeX-like processing is
a bad idea).

Doc/perl/python.perl

index 1e54ae9f9d42e734755c896685da14e2a504c7b2..21f31e77a6ca0afbabd6d640a986b7e93470d4ac 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]; }