diff --git django/utils/html.py django/utils/html.py
index 78359f9..6760f7a 100644
|
|
|
DOTS = [u'·', u'*', u'\u2022', u'•', u'•', u'•']
|
| 20 | 20 | unencoded_ampersands_re = re.compile(r'&(?!(\w+|#\d+);)') |
| 21 | 21 | unquoted_percents_re = re.compile(r'%(?![0-9A-Fa-f]{2})') |
| 22 | 22 | word_split_re = re.compile(r'(\s+)') |
| 23 | | simple_url_re = re.compile(r'^https?://\w') |
| 24 | | simple_url_2_re = re.compile(r'^www\.|^(?!http)\w[^@]+\.(com|edu|gov|int|mil|net|org)$') |
| | 23 | simple_url_re = re.compile(r'^https?://\w', re.IGNORECASE) |
| | 24 | simple_url_2_re = re.compile(r'^www\.|^(?!http)\w[^@]+\.(com|edu|gov|int|mil|net|org)$', re.IGNORECASE) |
| 25 | 25 | simple_email_re = re.compile(r'^\S+@\S+\.\S+$') |
| 26 | 26 | link_target_attribute_re = re.compile(r'(<a [^>]*?)target=[^\s>]+') |
| 27 | 27 | html_gunk_re = re.compile(r'(?:<br clear="all">|<i><\/i>|<b><\/b>|<em><\/em>|<strong><\/strong>|<\/?smallcaps>|<\/?uppercase>)', re.IGNORECASE) |