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

Doc/perl/python.perl

index 8968df36ab793e3406b0ac492e5deb69d9b69b47..332f51866642f0d03dcadc4d0dabc6a391e719ab 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_textgreater{ '&gt;' . @_[0]; }