sfdfsdfsd

This commit is contained in:
Aevann1 2021-12-11 19:23:09 +02:00
parent c57099dc88
commit 0fc5270d22
3 changed files with 7 additions and 7 deletions

View file

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