Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #20288: fix handling of invalid numeric charrefs in HTMLParser. | Ezio Melotti | 2014-02-01 | 1 | -0/+6 |
| | |||||
* | #19480: HTMLParser now accepts all valid start-tag names as defined by the ↵ | Ezio Melotti | 2013-11-07 | 1 | -2/+6 |
| | | | | HTML5 standard. | ||||
* | #14538: HTMLParser can now parse correctly start tags that contain a bare /. | Ezio Melotti | 2012-04-19 | 1 | -0/+10 |
| | |||||
* | HTMLParser is now able to handle slashes in the start tag. | Ezio Melotti | 2012-02-21 | 1 | -0/+21 |
| | |||||
* | #13987: HTMLParser is now able to handle malformed start tags. | Ezio Melotti | 2012-02-15 | 1 | -1/+2 |
| | |||||
* | #13987: HTMLParser is now able to handle EOFs in the middle of a construct. | Ezio Melotti | 2012-02-15 | 1 | -8/+8 |
| | |||||
* | Fix an index, add more tests, avoid raising errors for unknown declarations, ↵ | Ezio Melotti | 2012-02-13 | 1 | -0/+24 |
| | | | | and clean up comments. | ||||
* | #13993: HTMLParser is now able to handle broken end tags. | Ezio Melotti | 2012-02-13 | 1 | -3/+41 |
| | |||||
* | #13960: HTMLParser is now able to handle broken comments. | Ezio Melotti | 2012-02-13 | 1 | -21/+37 |
| | |||||
* | #13576: add tests about the handling of (possibly broken) condcoms. | Ezio Melotti | 2011-12-19 | 1 | -0/+42 |
| | |||||
* | #13358: HTMLParser now calls handle_data only once for each CDATA. | Ezio Melotti | 2011-11-18 | 1 | -0/+21 |
| | |||||
* | #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in ↵ | Ezio Melotti | 2011-11-14 | 1 | -3/+73 |
| | | | | HTMLParser. | ||||
* | Group tests about attributes in a separate class. | Ezio Melotti | 2011-11-08 | 1 | -61/+59 |
| | |||||
* | #670664: Fix HTMLParser to correctly handle the content of ↵ | Ezio Melotti | 2011-11-01 | 1 | -12/+30 |
| | | | | ``<script>...</script>`` and ``<style>...</style>``. | ||||
* | #7311: fix HTMLParser to accept non-ASCII attribute values. | Ezio Melotti | 2011-04-05 | 1 | -0/+17 |
| | |||||
* | Fix Issue10759 - HTMLParser.unescape() to handle malform charrefs. | Senthil Kumaran | 2010-12-28 | 1 | -0/+5 |
| | |||||
* | Issue #6662: Fix parsing of malformatted charref (&#bad;) | Victor Stinner | 2010-05-24 | 1 | -0/+7 |
| | |||||
* | remove the svn:executable property from files that don't have shebang lines | Benjamin Peterson | 2010-03-05 | 1 | -0/+0 |
| | |||||
* | Remove html package and fix test_htmlparser. | Georg Brandl | 2008-05-20 | 1 | -5/+5 |
| | |||||
* | change some imports in tests so they will not be skipped in 3.0 | Benjamin Peterson | 2008-05-18 | 1 | -5/+5 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+0 |
| | |||||
* | Patch #912410: Replace HTML entity references for attribute values | Martin v. Löwis | 2007-03-06 | 1 | -0/+5 |
| | | | | in HTMLParser. | ||||
* | Bug #1442874: handle "<!>", the empty SGML comment | Georg Brandl | 2006-03-09 | 1 | -1/+1 |
| | |||||
* | add tests that make sure buffer boundaries are handled properly for SGML ↵ | Fred Drake | 2004-09-08 | 1 | -0/+13 |
| | | | | | | comments (see SF patch #901369) | ||||
* | Whitespace normalization. | Tim Peters | 2004-07-08 | 1 | -1/+1 |
| | |||||
* | [Bug #921657] Allow '@' in unquoted HTML attributes. Not strictly legal ↵ | Andrew M. Kuchling | 2004-06-05 | 1 | -0/+4 |
| | | | | according to the HTML REC, but HTMLParser is already a pretty loose parser. Reported by Bernd Zimmermann. | ||||
* | Add test that demonstrates SGML-style handling of processing | Fred Drake | 2003-04-17 | 1 | -0/+3 |
| | | | | instructions. | ||||
* | Accept commas in unquoted attribute values. | Fred Drake | 2003-03-14 | 1 | -0/+4 |
| | | | | This closes SF patch #669683. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Add a test that makes sure unclosed entity references are handled consitently. | Fred Drake | 2001-12-03 | 1 | -0/+6 |
| | |||||
* | Adapt to use the test_main() approach. | Fred Drake | 2001-09-24 | 1 | -1/+6 |
| | |||||
* | HTMLParser is allowed to be more strict than sgmllib, so let's not | Fred Drake | 2001-09-04 | 1 | -6/+1 |
| | | | | | change their basic behavior: When parsing something that cannot possibly be valid in either HTML or XHTML, raise an exception. | ||||
* | Enhanced the test for DOCTYPE declarations, added a test for dealing with | Fred Drake | 2001-09-04 | 1 | -14/+23 |
| | | | | broken declaration-like things. | ||||
* | Deal more appropriately with bare ampersands and pointy brackets; this | Fred Drake | 2001-08-20 | 1 | -7/+27 |
| | | | | | | | | module has to deal with "class" HTML-as-deployed as well as XHTML, so we cannot be as strict as XHTML allows. This closes SF bug #453059, but uses a different fix than suggested in the bug comments. | ||||
* | Fix stupid bug: when migrating these tests from the Zope repository, the | Fred Drake | 2001-08-03 | 1 | -14/+20 |
| | | | | | | | | | names of the test methods were not changed from the Zope-standard "check" names to the Python-standard "test_" names, so the tests were not actually being run. Added test of hexadecimal character references as a regression check for SF bug #445196. | ||||
* | Remove a duplicate test. | Fred Drake | 2001-07-16 | 1 | -1/+0 |
| | |||||
* | Added test suite for the new HTMLParser module, originally from the | Fred Drake | 2001-05-18 | 1 | -0/+254 |
TAL/PageTemplate package for Zope. This only needed a little boilerplate change; the tests themselves are unchanged. |