mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Too much whitespace in notifications.
This commit is contained in:
parent
2e5ca80b56
commit
647a43415d
1 changed files with 2 additions and 2 deletions
|
@ -197,8 +197,8 @@ class MUserFeedNotification(mongo.Document):
|
|||
soup = BeautifulSoup(story['story_content'].strip(), features="lxml")
|
||||
if notification_title_only:
|
||||
subtitle = None
|
||||
body_title = html.unescape(story['story_title'])
|
||||
body_content = replace_with_newlines(soup)
|
||||
body_title = html.unescape(story['story_title']).strip()
|
||||
body_content = replace_with_newlines(soup).strip()
|
||||
body = f"{body_title}\n{body_content}"
|
||||
else:
|
||||
subtitle = html.unescape(story['story_title'])
|
||||
|
|
Loading…
Add table
Reference in a new issue