Strip unwanted tags from task note and comments

This commit is contained in:
Scot Hacker 2018-12-20 17:08:09 -08:00
parent c6bd3bcdb0
commit f526ed5166
7 changed files with 298 additions and 92 deletions

View file

@ -75,4 +75,4 @@ class Comment(models.Model):
return "{author} - {snippet}...".format(author=self.author, snippet=self.body[:35])
def __str__(self):
return self.snippet
return self.snippet()