]> granicus.if.org Git - python/commitdiff
The & character is also escaped using \.
authorFred Drake <fdrake@acm.org>
Mon, 23 Nov 1998 23:11:12 +0000 (23:11 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 23 Nov 1998 23:11:12 +0000 (23:11 +0000)
Doc/tools/sgmlconv/latex2esis.py

index cf50050476d17e2a735b569d666e6991a94b15b7..136ee443e59a4462c6e1068122b4e4207b43aa7b 100755 (executable)
@@ -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,