summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-11-23 23:11:12 (GMT)
committerFred Drake <fdrake@acm.org>1998-11-23 23:11:12 (GMT)
commit1cb330c383c280ec8a6f28ce1b08ab6ec20782f9 (patch)
tree7909e84f5979ff673fec638bd4f7ea94cfb9d9b0 /Doc/tools
parent1ff6db484f2d1389d16eb9ba10f637c3a1b2e0c9 (diff)
downloadcpython-1cb330c383c280ec8a6f28ce1b08ab6ec20782f9.zip
cpython-1cb330c383c280ec8a6f28ce1b08ab6ec20782f9.tar.gz
cpython-1cb330c383c280ec8a6f28ce1b08ab6ec20782f9.tar.bz2
The & character is also escaped using \.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/sgmlconv/latex2esis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py
index cf50050..136ee44 100755
--- a/Doc/tools/sgmlconv/latex2esis.py
+++ b/Doc/tools/sgmlconv/latex2esis.py
@@ -44,7 +44,7 @@ def encode(s):
return string.join(map(_charmap.get, s), '')
-ESCAPED_CHARS = "$%#^ {}"
+ESCAPED_CHARS = "$%#^ {}&"
def subconvert(line, ofp, table, discards, autoclosing, knownempty,