59 Commits (bbfe6c3986dc61eecd592fb3a290fce6c089c4e7)

Author SHA1 Message Date
Serhiy Storchaka 597d15afe4 Issue #23277: Remove unused support.run_unittest import. 10 years ago
Ezio Melotti 6f2bb98966 #23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True. 11 years ago
Ezio Melotti 6fc16d81af #21047: set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag. 12 years ago
Ezio Melotti 73a4359eb0 #15114: the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed. 12 years ago
Ezio Melotti f27b9a741a #20288: fix handling of invalid numeric charrefs in HTMLParser. 13 years ago
Ezio Melotti 95401c5f6b #13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references. 13 years ago
Ezio Melotti f6de9eb2bb #19688: add back and deprecate the internal HTMLParser.unescape() method. 13 years ago
Ezio Melotti 4a9ee26750 #2927: Added the unescape() function to the html module. 13 years ago
Ezio Melotti 7165d8b9ba #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 13 years ago
Ezio Melotti 5028f4d461 Use unittest.main() in test_htmlparser. 13 years ago
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. 13 years ago
Ezio Melotti 8e596a765c #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow. 13 years ago
Ezio Melotti 46495182d0 #15156: HTMLParser now uses the new "html.entities.html5" dictionary. 14 years ago
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. 14 years ago
Ezio Melotti 0780b6bc58 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 14 years ago
Ezio Melotti c45868ec69 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 14 years ago
Ezio Melotti 29877e8e04 HTMLParser is now able to handle slashes in the start tag. 15 years ago
Ezio Melotti 36b7361fe7 HTMLParser is now able to handle slashes in the start tag. 15 years ago
Ezio Melotti 65d36dab4d #13987: HTMLParser is now able to handle malformed start tags. 15 years ago
Ezio Melotti d2307cb48a #13987: HTMLParser is now able to handle EOFs in the middle of a construct. 15 years ago
Ezio Melotti 369cbd744e Fix an index, add more tests, avoid raising errors for unknown declarations, and clean up comments. 15 years ago
Ezio Melotti e31ddedb0e Fix an index and clean up comments. 15 years ago
Ezio Melotti f117443cb8 #13993: HTMLParser is now able to handle broken end tags. 15 years ago
Ezio Melotti 4b92cc3f79 #13960: HTMLParser is now able to handle broken comments. 15 years ago
Ezio Melotti f4ab491901 Improve handling of declarations in HTMLParser. 15 years ago
Ezio Melotti 86f67123be Fix htmlparser tests to always use the right collector. 15 years ago
Ezio Melotti 5211ffe4df #13993: HTMLParser is now able to handle broken end tags when strict=False. 15 years ago
Ezio Melotti fa3702dc28 #13960: HTMLParser is now able to handle broken comments when strict=False. 15 years ago
Ezio Melotti 62f3d0300e #13576: add tests about the handling of (possibly broken) condcoms. 15 years ago
Ezio Melotti 6b7003a18c #13576: add tests about the handling of (possibly broken) condcoms. 15 years ago
Ezio Melotti 15cb489234 #13358: HTMLParser now calls handle_data only once for each CDATA. 15 years ago
Ezio Melotti c2fe57762b #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 15 years ago
Ezio Melotti b245ed1cdf Group tests about attributes in a separate class. 15 years ago
Ezio Melotti 00dc60beee #13358: HTMLParser now calls handle_data only once for each CDATA. 15 years ago
Ezio Melotti 0f1571ce7f #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 15 years ago
Ezio Melotti 74592919d6 Group tests about attributes in a separate class. 15 years ago
Ezio Melotti c1e73c30e9 Make sure that the tolerant parser still parses valid HTML correctly. 15 years ago
Ezio Melotti b9a48f7144 Avoid reusing the same collector in the tests. 15 years ago
Ezio Melotti 18b0e5b79b #12008: add a test. 15 years ago
Ezio Melotti 7de56f6a04 #670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``. 15 years ago
Ezio Melotti 7e82b276dd #670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``. 15 years ago
Ezio Melotti f50ffa94ab #13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False. 15 years ago
Ezio Melotti d9e0b068af #12888: Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten. 15 years ago
Ezio Melotti 2e3607c1e7 #7311: fix html.parser to accept non-ASCII attribute values. 15 years ago
Ezio Melotti 9f1ffb2ae9 #7311: fix HTMLParser to accept non-ASCII attribute values. 15 years ago
Senthil Kumaran 6c85838489 Merged revisions 87542 via svnmerge from 16 years ago
Senthil Kumaran 3f60f09eb2 Fix Issue10759 - HTMLParser.unescape() to handle malform charrefs. 16 years ago
Senthil Kumaran 164540fee1 Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax 16 years ago
R. David Murray b579dba119 #1486713: Add a tolerant mode to HTMLParser. 16 years ago
Victor Stinner 30c223cff5 Merged revisions 81504 via svnmerge from 16 years ago