cmark

My personal build of CMark ✏️

Commit
cc9c7677e66598ed2e93306a747253b2a5a9ec27
Parent
2c39cdc8989c6fd855d11bc8bd66230964cb4859
Author
John MacFarlane <jgm@berkeley.edu>
Date

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

1 file changed, 1 insertion, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified test/normalize.py 1 1 0
diff --git 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 = ""