summaryrefslogtreecommitdiffstats
path: root/Lib/html
Commit message (Collapse)AuthorAgeFilesLines
* #14538: HTMLParser can now parse correctly start tags that contain a bare /.Ezio Melotti2012-04-191-3/+3
|
* HTMLParser is now able to handle slashes in the start tag.Ezio Melotti2012-02-211-7/+11
|
* Fix an index and clean up comments.Ezio Melotti2012-02-131-1/+2
|
* Improve handling of declarations in HTMLParser.Ezio Melotti2012-02-131-8/+22
|
* #13993: HTMLParser is now able to handle broken end tags when strict=False.Ezio Melotti2012-02-131-15/+27
|
* #13960: HTMLParser is now able to handle broken comments when strict=False.Ezio Melotti2012-02-101-1/+24
|
* #13358: HTMLParser now calls handle_data only once for each CDATA.Ezio Melotti2011-11-181-3/+4
|
* #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in ↵Ezio Melotti2011-11-141-9/+10
| | | | HTMLParser.
* #670664: Fix HTMLParser to correctly handle the content of ↵Ezio Melotti2011-11-011-4/+18
| | | | ``<script>...</script>`` and ``<style>...</style>``.
* #13273: fix a bug that prevented HTMLParser to properly detect some tags ↵Ezio Melotti2011-10-281-3/+2
| | | | when strict=False.
* Fix issue12938 - Update the docstring of html.escape. Include the ↵Senthil Kumaran2011-09-121-1/+2
| | | | information on single quote.
* #12888: Fix a bug in HTMLParser.unescape that prevented it to escape more ↵Ezio Melotti2011-09-051-1/+1
| | | | than 128 entities. Patch by Peter Otten.
* Merge 3.1Éric Araujo2011-05-251-1/+1
|\
| * Fix display of html.parser.HTMLParser.feed docstringÉric Araujo2011-05-041-1/+1
| |
| * Merged revisions 87542 via svnmerge fromSenthil Kumaran2010-12-281-7/+10
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87542 | senthil.kumaran | 2010-12-28 23:55:16 +0800 (Tue, 28 Dec 2010) | 3 lines Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax ........
| * Merged revisions 81504 via svnmerge fromVictor Stinner2010-05-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81504 | victor.stinner | 2010-05-24 23:46:25 +0200 (lun., 24 mai 2010) | 13 lines Recorded merge of revisions 81500-81501 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81500 | victor.stinner | 2010-05-24 23:33:24 +0200 (lun., 24 mai 2010) | 2 lines Issue #6662: Fix parsing of malformatted charref (&#bad;) ........ r81501 | victor.stinner | 2010-05-24 23:37:28 +0200 (lun., 24 mai 2010) | 2 lines Add the author of the last fix (Issue #6662) ........ ................
* | #7311: fix html.parser to accept non-ASCII attribute values.Ezio Melotti2011-04-071-1/+1
| |
* | Fix Issue10759 - html.parser.unescape() fails on HTML entities with ↵Senthil Kumaran2010-12-281-7/+10
| | | | | | | | incorrect syntax
* | #1486713: Add a tolerant mode to HTMLParser.R. David Murray2010-12-031-16/+83
| | | | | | | | | | | | | | | | | | | | | | | | The motivation for adding this option is that the the functionality it provides used to be provided by sgmllib in Python2, and was used by, for example, BeautifulSoup. Without this option, the Python3 version of BeautifulSoup and the many programs that use it are crippled. The original patch was by 'kxroberto'. I modified it heavily but kept his heuristics and test. I also added additional heuristics to fix #975556, #1046092, and part of #6191. This patch should be completely backward compatible: the behavior with the default strict=True is unchanged.
* | #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵Georg Brandl2010-10-151-1/+20
| | | | | | | | 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.
* | Recorded merge of revisions 81500-81501 via svnmerge fromVictor Stinner2010-05-241-0/+3
|/ | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81500 | victor.stinner | 2010-05-24 23:33:24 +0200 (lun., 24 mai 2010) | 2 lines Issue #6662: Fix parsing of malformatted charref (&#bad;) ........ r81501 | victor.stinner | 2010-05-24 23:37:28 +0200 (lun., 24 mai 2010) | 2 lines Add the author of the last fix (Issue #6662) ........
* #2834: Change re module semantics, so that str and bytes mixing is forbidden,Antoine Pitrou2008-08-191-1/+1
| | | | | and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead.
* Change test_htmlparser to reflect the HTMLParser -> html.parserMark Dickinson2008-05-211-1/+1
| | | | | | rename in r63439. Also fix one occurrence of unichr() in html.parser.
* rename HTMLParser to html.parser and htmlentitydefs to html.entities;Fred Drake2008-05-173-0/+659
includes merge of trunk revision 63432