From 824981b2dc61a76a59d0e470bed6e61626a44ccf Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Mon, 25 Nov 2019 09:01:31 +0100 Subject: [PATCH] Removed unused unencoded_ampersands_re regex. Unused since 8b81dee60c1533e714a310fa5c3907356042a64c. --- django/utils/html.py | 1 - 1 file changed, 1 deletion(-) 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 = ['·', '*', '\u2022', '•', '•', '•'] -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(