The & character is also escaped using \.

This commit is contained in:
Fred Drake 1998-11-23 23:11:12 +00:00
parent 1ff6db484f
commit 1cb330c383
1 changed files with 1 additions and 1 deletions

View File

@ -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,