diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-09-22 22:40:12 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-09-22 22:40:12 -0700 |
commit | cc9c7677e66598ed2e93306a747253b2a5a9ec27 (patch) | |
tree | dee228b52b6c8660f88b8c7353943ee0dcc0508c /test | |
parent | 2c39cdc8989c6fd855d11bc8bd66230964cb4859 (diff) |
Set convert_charrefs=False in normalize.py.
This defeats the new default as of python 3.5, and allows
the script to work with python 3.5.
Closes #83.
Diffstat (limited to 'test')
-rw-r--r-- | test/normalize.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/normalize.py b/test/normalize.py index 9025bfa..6eb4ec2 100644 --- a/test/normalize.py +++ b/test/normalize.py @@ -21,6 +21,7 @@ whitespace_re = re.compile('\s+') class MyHTMLParser(HTMLParser): def __init__(self): HTMLParser.__init__(self) + self.convert_charrefs = False self.last = "starttag" self.in_pre = False self.output = "" |