diff --git a/helios/models.py b/helios/models.py index c8cae97c223633a8ddb036a537203bb1a0569d1a..8715f273b250cfcc74462ad0183c0bc295debb70 100644 --- a/helios/models.py +++ b/helios/models.py @@ -199,7 +199,7 @@ class Election(HeliosModel): @property def description_bleached(self): return bleach.clean(self.description, - tags=bleach.ALLOWED_TAGS + ['p', 'h4', 'h5', 'h3', 'h2', 'br', 'u'], + tags=bleach.ALLOWED_TAGS + ['p', 'h4', 'h5', 'h3', 'h2', 'br', 'u', 'table', 'tr', 'th', 'td', 'thead', 'tbody', 'tfoot', 's', 'del', 'strike', 'ins'], strip=True, strip_comments=True, )