30 Commits (3d596fa90b3c862eb2c0fb67aaf42cf1237c3258)

Author SHA1 Message Date
Ezio Melotti 8e596a765c #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow. 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