Skip to content

Commit 8f98b5b

Browse files
committed
Tag 6.6.2
1 parent b7b6bfa commit 8f98b5b

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

AdvancedHTMLParser/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
from .Validator import ValidatingAdvancedHTMLParser
1010
from .exceptions import InvalidCloseException, MissedCloseException, HTMLValidationException
1111

12-
__version__ = '6.6.1'
13-
__version_tuple__ = ('6', '6', '1')
14-
__int_version_tuple__ = (6, 6, 1)
12+
__version__ = '6.6.2'
13+
__version_tuple__ = ('6', '6', '2')
14+
__int_version_tuple__ = (6, 6, 2)
1515

1616
__all__ = ['AdvancedHTMLParser', 'IndexedAdvancedHTMLParser', 'AdvancedHTMLFormatter', 'AdvancedTag', 'TagCollection'
1717
'ValidatingAdvancedHTMLParser', 'MissedCloseException', 'InvalidCloseException', 'HTMLValidationException' ]

ChangeLog

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
* 6.6.1 Jul 27 2016
2-
- Python's HTMLParser automatically converts &lt; and &gt; into '<' and '>'
3-
before passing to handle_data. This will cause the &lt; and &gt; to be
4-
converted into their character counterparts and show up in the final result,
5-
which is incorrect. Convert them back, and add test case.
1+
* 6.6.2 Jul 27 2016
2+
- Python's HTMLParser on python3 only automatically converts charrefs
3+
(backwards incompatible...) -- so make it stop doing that. This allows things
4+
like &nbsp; and &lt; to not be converted to ' ' and '<' on python3. Added
5+
tests as well.
66
- Cleanup imports and add comments to test cases.
7+
- Add fixes made to AdvancedHTMLParser in 6.6.0, relating to text outside root
8+
nodes into AdvancedHTMLFormatter.
79

810
* 6.6.0 Jul 25 2016
911
- In a multiple root node scenario, make sure getHTML returns text that falls

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
long_description = summary
2727

2828
setup(name='AdvancedHTMLParser',
29-
version='6.6.1',
29+
version='6.6.2',
3030
packages=['AdvancedHTMLParser'],
3131
scripts=['formatHTML'],
3232
author='Tim Savannah',

0 commit comments

Comments
 (0)