atom feed is not standalone
This commit is contained in:
parent
79f7da4c32
commit
84f67078c0
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ def atom_xml(request):
|
||||||
el.attrib['height'] = str(thumbheight)
|
el.attrib['height'] = str(thumbheight)
|
||||||
feed.append(entry)
|
feed.append(entry)
|
||||||
return HttpResponse(
|
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'
|
'application/atom+xml'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue