From 233f24c0c404537381b847735ccd2f346c6208df Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Jun 2022 01:45:09 +0200 Subject: [PATCH] make reddit notifs look neater (again) --- files/helpers/offsitementions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/offsitementions.py b/files/helpers/offsitementions.py index f7dd1dfe2..c66f70aed 100644 --- a/files/helpers/offsitementions.py +++ b/files/helpers/offsitementions.py @@ -44,10 +44,10 @@ def get_mentions(queries): if i['subreddit'] == 'PokemonGoRaids': continue if kind == 'comment': - text = f'
{i["body"]}
' + text = f'

{i["body"]}

' else: - text = f'
{i["title"]}
' - if i["selftext"]: text += f'
{i["selftext"][:5000]}
' + text = f'

{i["title"]}

' + if i["selftext"]: text += f'

{i["selftext"][:5000]}

' mentions.append({ 'permalink': i['permalink'],