atom feed is not standalone

This commit is contained in:
j 2012-02-23 20:24:27 +05:30
parent 79f7da4c32
commit 84f67078c0

View file

@ -938,7 +938,7 @@ def atom_xml(request):
el.attrib['height'] = str(thumbheight)
feed.append(entry)
return HttpResponse(
'<?xml version="1.0" encoding="utf-8" standalone="yes"?>\n' + ET.tostring(feed),
'<?xml version="1.0" encoding="utf-8" ?>\n' + ET.tostring(feed),
'application/atom+xml'
)