mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser 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
This commit is contained in:
parent
d2988ce0f4
commit
98a1e14e09
@ -4,7 +4,7 @@ Comparing two html documents.
|
|||||||
import re
|
import re
|
||||||
from HTMLParser import HTMLParseError
|
from HTMLParser import HTMLParseError
|
||||||
from django.utils.encoding import force_unicode
|
from django.utils.encoding import force_unicode
|
||||||
from django.utils.htmlparser import HTMLParser
|
from django.utils.html_parser import HTMLParser
|
||||||
|
|
||||||
|
|
||||||
WHITESPACE = re.compile('\s+')
|
WHITESPACE = re.compile('\s+')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user