dffd
This commit is contained in:
parent
ad947514ab
commit
e54e0a1026
54 changed files with 97 additions and 96 deletions
|
@ -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")
|
Loading…
Add table
Add a link
Reference in a new issue