Skip to content
Snippets Groups Projects
Commit bd28fd5f authored by Ben Adida's avatar Ben Adida
Browse files

allow underline

parent 67d04d22
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ class Election(HeliosModel):
@property
def description_bleached(self):
return bleach.clean(self.description, tags = bleach.ALLOWED_TAGS + ['p', 'h4', 'h5', 'h3', 'h2', 'br'])
return bleach.clean(self.description, tags = bleach.ALLOWED_TAGS + ['p', 'h4', 'h5', 'h3', 'h2', 'br', 'u'])
@classmethod
def get_featured(cls):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment