summaryrefslogtreecommitdiff
path: root/django/utils/html_parser.py
AgeCommit message (Collapse)Author
2012-10-23[1.4.x] Fix an HTML-parser test that's failed in Python 2.6.8 since 5c79dd58.Carl Meyer
The problem description in #18239 asserted that http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our patched HTMLParser subclass in all Python 2.6 versions. Backport of fcec904e4f from master. Fixes #19148.
2012-08-16[1.4.x] Fixed #18239 -- Subclassed HTMLParser only for selected Python versionsRaphaël Hertzog
Only Python versions affected by http://bugs.python.org/issue670664 should patch HTMLParser.
2012-03-01Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser ↵Carl Meyer
to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17607 bcc190cf-cafb-0310-a4f2-bffc1f526a37