summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2019-11-25 09:01:31 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-11-25 09:01:31 +0100
commit824981b2dc61a76a59d0e470bed6e61626a44ccf (patch)
tree75ee7fd4dbc670a093920062fa6d14b84b799299 /django/utils/html.py
parenta69c4d626afe9e56131aeb624caf3137ddd98bcb (diff)
Removed unused unencoded_ampersands_re regex.
Unused since 8b81dee60c1533e714a310fa5c3907356042a64c.
Diffstat (limited to 'django/utils/html.py')
-rw-r--r--django/utils/html.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py
index 2b8f2a8c89..3bc02b8dd3 100644
--- a/django/utils/html.py
+++ b/django/utils/html.py
@@ -22,7 +22,6 @@ WRAPPING_PUNCTUATION = [('(', ')'), ('[', ']')]
# List of possible strings used for bullets in bulleted lists.
DOTS = ['&middot;', '*', '\u2022', '&#149;', '&bull;', '&#8226;']
-unencoded_ampersands_re = _lazy_re_compile(r'&(?!(\w+|#\d+);)')
word_split_re = _lazy_re_compile(r'''([\s<>"']+)''')
simple_url_re = _lazy_re_compile(r'^https?://\[?\w', re.IGNORECASE)
simple_url_2_re = _lazy_re_compile(