diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-19 08:14:02 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-19 08:14:02 -0800 |
commit | b5f809582e073a3b4cb31a167e03f18145a04249 (patch) | |
tree | 9eb7db811d525a2cada8c9570354108da1eb9ba5 | |
parent | 7030f3a97cf0777e320e22bf030caa66395d09a6 (diff) |
Fixed whitespace normalization (#245).
-rw-r--r-- | test/normalize.py | 2 |
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) |