Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-27 | normalize.py: use html.escape instead of cgi.escape. | John MacFarlane | |
Closes #313. | |||
2015-12-28 | Updated spec.txt and normalize.py. | John MacFarlane | |
2015-09-22 | Set convert_charrefs=False in normalize.py. | John MacFarlane | |
This defeats the new default as of python 3.5, and allows the script to work with python 3.5. Closes #83. | |||
2015-09-20 | Python 3.5 compatibility: add placeholder for HTMLParseError | Zhiming Wang | |
HTMLParseError was removed in Python 3.5. Since it could never be thrown in Python 3.5+, we simply define a placeholder when HTMLParseError cannot be imported. | |||
2015-06-16 | normalize.py: don't collapse whitespace in pre contexts. | John MacFarlane | |
2014-12-29 | Updated tests to use python3. | John MacFarlane | |
2014-12-22 | Fixed normalization bug, added more doctests for normalization. | John MacFarlane | |
* The tests test for removal of whitespace around block-level tags. * Previously whitespace wasn't removed before an initial block-level tag; this commit fixes that. * Also revised wording so it's clear that whitespace is removed on both sides of block-level tags. Closes #246 in a slightly different way. | |||
2014-12-19 | Added a few more doctests for HTML normalization (#245). | John MacFarlane | |
2014-12-19 | Fixed whitespace normalization (#245). | John MacFarlane | |
2014-12-19 | Expose failure to normalize whitespaces | Ciro Santilli | |
2014-11-29 | test: Factored out normalization code into normalize.py. | John MacFarlane | |