Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #786 -- Atom feeds now put links in a href element. Thanks, mat…

…tycakes

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 33b7ef290ee0b4a5dbbb4f58b352f63e1b9ed2e8 1 parent f6bf41e
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/feedgenerator.py
View
2  django/utils/feedgenerator.py
@@ -209,7 +209,7 @@ def write_items(self, handler):
for item in self.items:
handler.startElement(u"entry", {})
handler.addQuickElement(u"title", item['title'])
- handler.addQuickElement(u"link", item['link'])
+ handler.addQuickElement(u"link", u"", {u"href": item['link']})
if item['pubdate'] is not None:
handler.addQuickElement(u"updated", rfc2822_date(item['pubdate']).decode('ascii'))
Please sign in to comment.
Something went wrong with that request. Please try again.