summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-12-16 15:30:51 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2013-12-16 15:30:51 +0100
commit3eb58f0dd11ae10fa5741afbc43e229332a4373a (patch)
tree79589814bae09a51cd07bae4f20a0754d5f467cc /django/utils/html.py
parentdb41778e8ccbbba19954c3b47853b8520ab263a1 (diff)
Removed unnecessary function-level import.
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 0e1c2c4b7b..b6b639d538 100644
--- a/django/utils/html.py
+++ b/django/utils/html.py
@@ -290,7 +290,6 @@ def clean_html(text):
* Remove stuff like "<p>&nbsp;&nbsp;</p>", but only if it's at the
bottom of the text.
"""
- from django.utils.text import normalize_newlines
text = normalize_newlines(text)
text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text)
text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text)