summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-19 08:14:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-19 08:14:02 -0800
commitb5f809582e073a3b4cb31a167e03f18145a04249 (patch)
tree9eb7db811d525a2cada8c9570354108da1eb9ba5 /test
parent7030f3a97cf0777e320e22bf030caa66395d09a6 (diff)
Fixed whitespace normalization (#245).
Diffstat (limited to 'test')
-rw-r--r--test/normalize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/normalize.py b/test/normalize.py
index 29e404b..4b922e6 100644
--- 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)