mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Add three dots when truncating
This commit is contained in:
parent
981f7a1457
commit
2c634912ef
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class UforaNotification:
|
|||
desc = self._clean_content(self._content["summary"])
|
||||
|
||||
if len(desc) > 500:
|
||||
return desc[:500]
|
||||
return desc[:497] + "..."
|
||||
|
||||
return desc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue