Removed unnecessary function-level import.

This commit is contained in:
Baptiste Mispelon 2013-12-16 15:30:51 +01:00
parent db41778e8c
commit 3eb58f0dd1
1 changed files with 0 additions and 1 deletions

View File

@ -290,7 +290,6 @@ def clean_html(text):
* Remove stuff like "<p>&nbsp;&nbsp;</p>", but only if it's at the * Remove stuff like "<p>&nbsp;&nbsp;</p>", but only if it's at the
bottom of the text. bottom of the text.
""" """
from django.utils.text import normalize_newlines
text = normalize_newlines(text) text = normalize_newlines(text)
text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text) text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text)
text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text) text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text)