Skip to content

Commit 091fb7f

Browse files
committed
Re-release 7.4.0 as 8.0.0 to signify that it is a major update
1 parent 8ef396c commit 091fb7f

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

AdvancedHTMLParser/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from .exceptions import InvalidCloseException, MissedCloseException, HTMLValidationException, MultipleRootNodeException
1111
from .SpecialAttributes import StyleAttribute
1212

13-
__version__ = '7.4.0'
14-
__version_tuple__ = ('7', '4', '0')
15-
__int_version_tuple__ = (7, 4, 0)
13+
__version__ = '8.0.0'
14+
__version_tuple__ = ('8', '0', '0')
15+
__int_version_tuple__ = (8, 0, 0)
1616

1717
__all__ = ( 'AdvancedHTMLParser', 'IndexedAdvancedHTMLParser', 'AdvancedHTMLFormatter', 'AdvancedTag', 'TagCollection',
1818
'ValidatingAdvancedHTMLParser', 'MissedCloseException', 'InvalidCloseException', 'HTMLValidationException', 'MultipleRootNodeException',

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
* 8.0.0 - Nov 30 2017
12
* 7.4.0 - Nov 30 2017
23

4+
5+
NOTE: Was originally released as 7.4.0, but since it's such a major update, I updated the major to the "8" series.
6+
7+
8+
39
- Ensure that getAttribute, setAttribute, hasAttribute, 'key' in em.attributes, etc all lowercase the key. This is how the standard operates.
410

511
- Add "src", "height", and "width" as linked attributes for "img" tags (so imgEm.height = '60px' will set height='60px' on an img.) As a reminder, you can always use element.setAttribute('height', '60px') whether or not a dot-alias is setup.

doc/AdvancedHTMLParser.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="heading" >
77
<tr bgcolor="#7799ee" >
88
<td valign="bottom" >&nbsp;<br />
9-
<font color="#ffffff" face="helvetica, arial" >&nbsp;<br /><big ><big ><strong >AdvancedHTMLParser</strong></big></big> (version 7.4.0)</font></td><td align="right" valign="bottom" ><font color="#ffffff" face="helvetica, arial" ><a href="AdvancedHTMLParser.html" >index</a></font></td></tr></table>
9+
<font color="#ffffff" face="helvetica, arial" >&nbsp;<br /><big ><big ><strong >AdvancedHTMLParser</strong></big></big> (version 8.0.0)</font></td><td align="right" valign="bottom" ><font color="#ffffff" face="helvetica, arial" ><a href="AdvancedHTMLParser.html" >index</a></font></td></tr></table>
1010
<p ><tt >#&nbsp;Copyright&nbsp;(c)&nbsp;2015,&nbsp;2016,&nbsp;2017&nbsp;Tim&nbsp;Savannah&nbsp;All&nbsp;Rights&nbsp;Rserved&nbsp;under&nbsp;LGPLv3.&nbsp;See&nbsp;LICENSE&nbsp;(https://gnu.org/licenses/lgpl-3.0.txt)&nbsp;for&nbsp;more&nbsp;information.<br />
1111
#<br />
1212
#&nbsp;In&nbsp;general&nbsp;below,&nbsp;all&nbsp;"tag&nbsp;names"&nbsp;(body,&nbsp;div,&nbsp;etc)&nbsp;should&nbsp;be&nbsp;lowercase.&nbsp;The&nbsp;parser&nbsp;will&nbsp;lowercase&nbsp;internally.&nbsp;All&nbsp;attribute&nbsp;names&nbsp;(like&nbsp;`id`&nbsp;in&nbsp;id="123")&nbsp;provided&nbsp;to&nbsp;search&nbsp;functions&nbsp;should&nbsp;be&nbsp;lowercase.&nbsp;Values&nbsp;are&nbsp;not&nbsp;lowercase.&nbsp;This&nbsp;is&nbsp;because&nbsp;doing&nbsp;tons&nbsp;of&nbsp;searches,&nbsp;lowercasing&nbsp;every&nbsp;search&nbsp;can&nbsp;quickly&nbsp;build&nbsp;up.&nbsp;Lowercase&nbsp;it&nbsp;once&nbsp;in&nbsp;your&nbsp;code,&nbsp;not&nbsp;every&nbsp;time&nbsp;you&nbsp;call&nbsp;a&nbsp;function.</tt></p>
@@ -2788,6 +2788,6 @@
27882788

27892789
<tr ><td bgcolor="#55aa55" ><tt >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td >&nbsp;</td>
27902790
<td width="100%" ><strong >__all__</strong> = ('AdvancedHTMLParser', 'IndexedAdvancedHTMLParser', 'AdvancedHTMLFormatter', 'AdvancedTag', 'TagCollection', 'ValidatingAdvancedHTMLParser', 'MissedCloseException', 'InvalidCloseException', 'HTMLValidationException', 'MultipleRootNodeException', 'StyleAttribute', 'toggleAttributesDOM', 'isTextNode', 'isTagNode')<br />
2791-
<strong >__int_version_tuple__</strong> = (7, 4, 0)<br />
2792-
<strong >__version_tuple__</strong> = ('7', '4', '0')</td></tr></table>
2791+
<strong >__int_version_tuple__</strong> = (8, 0, 0)<br />
2792+
<strong >__version_tuple__</strong> = ('8', '0', '0')</td></tr></table>
27932793
</p></p></p></p></body></html>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
long_description = summary
3939

4040
setup(name='AdvancedHTMLParser',
41-
version='7.4.0',
41+
version='8.0.0',
4242
packages=['AdvancedHTMLParser'],
4343
scripts=['formatHTML'],
4444
author='Tim Savannah',

0 commit comments

Comments
 (0)