This commit is contained in:
Aevann1 2021-09-03 16:08:32 +02:00
parent ad947514ab
commit e54e0a1026
54 changed files with 97 additions and 96 deletions

View file

@ -64,6 +64,6 @@ def feeds_user(sort='hot', t='all'):
if len(post.body_html) > 0:
with tag("content", type="html"):
text(html.escape(f"<img src={image_url}/><br/>{post.body_html}"))
text(html.escape(f"<img loading="lazy" src={image_url}/><br/>{post.body_html}"))
return Response( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+ doc.getvalue(), mimetype="application/xml")