forked from MarseyWorld/MarseyWorld
sdffsd
parent
e9310939e5
commit
04862def02
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue