52 Commits (be9079ae683de8b5046e4f5329d6c19b032fecbe)

Author SHA1 Message Date
R David Murray 44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib. 10 years ago
Martin Panter 46f50726a0 Issue #27076: Doc, comment and tests spelling fixes 10 years ago
Martin Panter 1f1177d69a Fix some spelling errors in documentation and code comments 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
Serhiy Storchaka d3faf43f9b Issue #23181: More "codepoint" -> "code point". 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 11bec7a1b8 Add an __all__ to html.entities. 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. 12 years ago
Ezio Melotti 95401c5f6b #13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references. 12 years ago
Ezio Melotti f6de9eb2bb #19688: add back and deprecate the internal HTMLParser.unescape() method. 12 years ago
Ezio Melotti 4a9ee26750 #2927: Added the unescape() function to the html module. 12 years ago
Ezio Melotti 7165d8b9ba #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 12 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. 12 years ago
Ezio Melotti 4603487dc9 #18020: improve html.escape speed by an order of magnitude. Patch by Matt Bryant. 13 years ago
Ezio Melotti 8e596a765c #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow. 13 years ago
Ezio Melotti 1698babd1b #14679: add an __all__ (that contains only HTMLParser) to html.parser. 13 years ago
Ezio Melotti e6e96eea51 #16245: Fix the value of a few entities in html.entities.html5. 13 years ago
Ezio Melotti 518dbfd7b5 Reorder html.entities.html5 entities to make updates easier. Patch by Iuliia Proskurnia. 13 years ago
Ezio Melotti 46495182d0 #15156: HTMLParser now uses the new "html.entities.html5" dictionary. 14 years ago
Ezio Melotti dc44f55cc9 #11113: add a new "html5" dictionary containing the named character references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module. 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 29877e8e04 HTMLParser is now able to handle slashes in the start tag. 14 years ago
Ezio Melotti e31ddedb0e Fix an index and clean up comments. 14 years ago
Ezio Melotti f4ab491901 Improve handling of declarations in HTMLParser. 14 years ago
Ezio Melotti 5211ffe4df #13993: HTMLParser is now able to handle broken end tags when strict=False. 14 years ago
Ezio Melotti fa3702dc28 #13960: HTMLParser is now able to handle broken comments when strict=False. 14 years ago
Ezio Melotti 15cb489234 #13358: HTMLParser now calls handle_data only once for each CDATA. 14 years ago
Ezio Melotti c2fe57762b #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 14 years ago
Ezio Melotti 7de56f6a04 #670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``. 14 years ago
Ezio Melotti f50ffa94ab #13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False. 14 years ago
Senthil Kumaran d71bbf9fd5 Fix issue12938 - Update the docstring of html.escape. Include the information on single quote. 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
Éric Araujo 39f180bb1f Fix display of html.parser.HTMLParser.feed docstring 15 years ago
Ezio Melotti 2e3607c1e7 #7311: fix html.parser to accept non-ASCII attribute values. 15 years ago
Senthil Kumaran 6c85838489 Merged revisions 87542 via svnmerge from 15 years ago
Senthil Kumaran 164540fee1 Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax 15 years ago
R. David Murray b579dba119 #1486713: Add a tolerant mode to HTMLParser. 15 years ago
Georg Brandl 1f7fffb308 #2830: add html.escape() helper and move cgi.escape() uses in the standard library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning. 16 years ago
Victor Stinner 30c223cff5 Merged revisions 81504 via svnmerge from 16 years ago
Victor Stinner e021f4b206 Recorded merge of revisions 81500-81501 via svnmerge from 16 years ago
Antoine Pitrou fd036451bf #2834: Change re module semantics, so that str and bytes mixing is forbidden, 18 years ago
Mark Dickinson f64dcf3ce0 Change test_htmlparser to reflect the HTMLParser -> html.parser 18 years ago
Georg Brandl bcdafa44f2 Remove html package and fix test_htmlparser. 18 years ago
Fred Drake d995e1150c revert creation of the html.entities and html.parser modules 18 years ago
Fred Drake 3c50ea4303 rename HTMLParser to html.parser and htmlentitydefs to html.entities; 18 years ago
Fred Drake cb51d84214 update references and documentation for modules in the new html package 18 years ago
Fred Drake 91ae250273 rename HTMLParser to html.parser, htmlentitydefs to html.entities 18 years ago