cmark

My personal build of CMark ✏️

Commit
b5f809582e073a3b4cb31a167e03f18145a04249
Parent
7030f3a97cf0777e320e22bf030caa66395d09a6
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed whitespace normalization (#245).

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified test/normalize.py 2 1 1
diff --git a/test/normalize.py b/test/normalize.py
@@ -7,7 +7,7 @@ import cgi
 # Normalization code, adapted from
 # https://github.com/karlcow/markdown-testsuite/
 significant_attrs = ["alt", "href", "src", "title"]
-whitespace_re = re.compile('/s+/')
+whitespace_re = re.compile('\s+')
 class MyHTMLParser(HTMLParser):
     def __init__(self):
         HTMLParser.__init__(self)