From b5f809582e073a3b4cb31a167e03f18145a04249 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Dec 2014 08:14:02 -0800 Subject: Fixed whitespace normalization (#245). --- test/normalize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3