diff --git a/app/event/models.py b/app/event/models.py index 46c751b..393a486 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -34,6 +34,8 @@ class Event(models.Model): html = '' if self.media and self.media.split('.')[-1] in ('jpg', 'png', 'gif'): html += '' % self.media + elif '<' in self.media: + html = self.media else: html += '' % self.media if self.media_caption: