Strip unwanted tags from task note and comments
This commit is contained in:
parent
c6bd3bcdb0
commit
f526ed5166
7 changed files with 298 additions and 92 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue