master
Aevann1 2021-10-07 00:26:26 +02:00
parent e9310939e5
commit 04862def02
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ def filter_title(title):
elif path.isfile(f'./files/assets/images/emojis/{emoji}.webp'):
title = title.replace(f':{emoji}:', f'<img loading="lazy" data-bs-toggle="tooltip" alt=":{emoji}:" title=":{emoji}:" delay="0" height=20 src="https://{site}/assets/images/emojis/{emoji}.webp">')
if len(title) > 500: abort(400)
if len(title) > 1500: abort(400)
else: return title