Files
deb-python-django-compressor/compressor/parser/default_htmlparser.py
Luke Plant ff6fa993b4 Fixed deprecation warnings for calling HTMLParser on Python 3.X
The logic here comes from http://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/bs4/builder/_htmlparser.py#L20,
inspecting the stdlib code in different versions, and simplifying.

I haven't included the monkey patch from beautifulsoup for Python 3.2.2
because I don't think the bug affects django-compressor's parsing of script
tags.
2015-10-23 10:17:23 +01:00

3.1 KiB