jgm/CommonMark — pull request #245 by cirosantilli (2014-12-19 09:51:17+00:00)
Title: Expose failure to normalize whitespaces

Run with:

python -m doctest normalize.py

I found this while trying the CommonMark test suite with `pandoc`:

./test/spec_tests.py

Also I recommend that we add a bunch more unit doctests for that function similarly to: https://github.com/karlcow/markdown-testsuite/blob/639cd234d71ca81956b61ff7876f37c3cdc5c043/run-tests.py#L75 because that function is very tricky to implement.