Ezio Melotti
|
153d97b24e
|
#20288: merge with 3.3.
|
2014-02-01 21:22:26 +02:00 |
|
Ezio Melotti
|
f27b9a741a
|
#20288: fix handling of invalid numeric charrefs in HTMLParser.
|
2014-02-01 21:21:01 +02:00 |
|
Ezio Melotti
|
95401c5f6b
|
#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.
|
2013-11-23 19:52:05 +02:00 |
|
Ezio Melotti
|
f6de9eb2bb
|
#19688: add back and deprecate the internal HTMLParser.unescape() method.
|
2013-11-22 05:49:29 +02:00 |
|
Ezio Melotti
|
4a9ee26750
|
#2927: Added the unescape() function to the html module.
|
2013-11-19 20:28:45 +02:00 |
|
Ezio Melotti
|
b7038817fe
|
#19480: merge with 3.3.
|
2013-11-07 18:35:27 +02:00 |
|
Ezio Melotti
|
7165d8b9ba
|
#19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
|
2013-11-07 18:33:24 +02:00 |
|
Ezio Melotti
|
1943c8a112
|
Merge test_htmlparser changes from 3.3.
|
2013-11-02 17:50:02 +02:00 |
|
Ezio Melotti
|
5028f4d461
|
Use unittest.main() in test_htmlparser.
|
2013-11-02 17:49:08 +02:00 |
|
Ezio Melotti
|
88ebfb129b
|
#15114: The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
|
2013-11-02 17:08:24 +02:00 |
|
Ezio Melotti
|
8e596a765c
|
#17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
|
2013-05-01 16:18:25 +03:00 |
|
Ezio Melotti
|
46495182d0
|
#15156: HTMLParser now uses the new "html.entities.html5" dictionary.
|
2012-06-24 22:02:56 +02:00 |
|
Ezio Melotti
|
3861d8b271
|
#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated now that the parser is able to parse invalid markup.
|
2012-06-23 15:27:51 +02:00 |
|
Ezio Melotti
|
0780b6bc58
|
#14538: HTMLParser can now parse correctly start tags that contain a bare /.
|
2012-04-18 19:18:22 -06:00 |
|
Ezio Melotti
|
29877e8e04
|
HTMLParser is now able to handle slashes in the start tag.
|
2012-02-21 09:25:00 +02:00 |
|
Ezio Melotti
|
e31ddedb0e
|
Fix an index and clean up comments.
|
2012-02-13 20:20:00 +02:00 |
|
Ezio Melotti
|
f4ab491901
|
Improve handling of declarations in HTMLParser.
|
2012-02-13 15:50:37 +02:00 |
|
Ezio Melotti
|
86f67123be
|
Fix htmlparser tests to always use the right collector.
|
2012-02-13 14:11:27 +02:00 |
|
Ezio Melotti
|
5211ffe4df
|
#13993: HTMLParser is now able to handle broken end tags when strict=False.
|
2012-02-13 11:24:50 +02:00 |
|
Ezio Melotti
|
fa3702dc28
|
#13960: HTMLParser is now able to handle broken comments when strict=False.
|
2012-02-10 10:45:44 +02:00 |
|
Ezio Melotti
|
62f3d0300e
|
#13576: add tests about the handling of (possibly broken) condcoms.
|
2011-12-19 07:29:03 +02:00 |
|
Ezio Melotti
|
15cb489234
|
#13358: HTMLParser now calls handle_data only once for each CDATA.
|
2011-11-18 18:01:49 +02:00 |
|
Ezio Melotti
|
c2fe57762b
|
#1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser.
|
2011-11-14 18:53:33 +02:00 |
|
Ezio Melotti
|
b245ed1cdf
|
Group tests about attributes in a separate class.
|
2011-11-14 18:13:22 +02:00 |
|
Ezio Melotti
|
c1e73c30e9
|
Make sure that the tolerant parser still parses valid HTML correctly.
|
2011-11-01 18:57:15 +02:00 |
|