dfsfsd
parent
9fe1b0bda6
commit
761c757f5c
|
@ -62,6 +62,6 @@ def feeds_user(sort='hot', t='all'):
|
||||||
|
|
||||||
if len(post.body_html) > 0:
|
if len(post.body_html) > 0:
|
||||||
with tag("content", type="html"):
|
with tag("content", type="html"):
|
||||||
text(html.escape(f'<img loading="lazy" src={image_url}/><br/>{post.body_html}'))
|
doc.cdata(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")
|
return Response( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+ doc.getvalue(), mimetype="application/xml")
|
Loading…
Reference in New Issue