diff options
Diffstat (limited to 'test')
-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) |