Skip to content

Commit b4b030f

Browse files
committed
description shows in kanban card
1 parent 82bea23 commit b4b030f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_scrum/project_scrum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class project_user_stories(models.Model):
103103
def _conv_html2text(self): # method that return a short text from description of user story
104104
for d in self:
105105
try:
106-
d.description_short = BeautifulSoup(d.description or '').p.get_text()
106+
d.description_short = BeautifulSoup(d.description or '').get_text()[:99]
107107
except:
108108
pass
109109

0 commit comments

Comments
 (0)