forked from MarseyWorld/MarseyWorld
fsdfds
parent
3ee2c0749f
commit
293047492b
|
@ -61,6 +61,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"):
|
||||||
doc.cdata(f'''<img alt="{post.realtitle(None)}" loading="lazy" src={image_url}><br>{post.body_html}''')
|
doc.cdata(f'''<img alt="{post.realtitle(None)}" loading="lazy" src={image_url}><br>{post.realbody(None)}''')
|
||||||
|
|
||||||
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