forked from rDrama/rDrama
1
0
Fork 0

make reddit notifs look neater (again)

master
Aevann1 2022-06-23 01:45:09 +02:00
parent 5ee6d5a106
commit 233f24c0c4
1 changed files with 3 additions and 3 deletions

View File

@ -44,10 +44,10 @@ def get_mentions(queries):
if i['subreddit'] == 'PokemonGoRaids': continue
if kind == 'comment':
text = f'<blockquote>{i["body"]}</blockquote>'
text = f'<blockquote><p>{i["body"]}</p></blockquote>'
else:
text = f'<blockquote>{i["title"]}</blockquote>'
if i["selftext"]: text += f'<br><blockquote>{i["selftext"][:5000]}</blockquote>'
text = f'<blockquote><p>{i["title"]}</p></blockquote>'
if i["selftext"]: text += f'<br><blockquote><p>{i["selftext"][:5000]}</p></blockquote>'
mentions.append({
'permalink': i['permalink'],