diff --git a/site/src/django-1.0.2-1.0.4FINAL/django/utils/feedgenerator.py b/site/src/django-1.0.2-1.0.4FINAL/django/utils/feedgenerator.py
index de924a3..eeff176 100644
a
|
b
|
class Atom1Feed(SyndicationFeed):
|
276 | 276 | return {u"xmlns": self.ns} |
277 | 277 | |
278 | 278 | def add_root_elements(self, handler): |
279 | | handler.addQuickElement(u"title", self.feed['title']) |
| 279 | handler.addQuickElement(u"title", self.feed['title'], {u"type": u"html"}) |
280 | 280 | handler.addQuickElement(u"link", "", {u"rel": u"alternate", u"href": self.feed['link']}) |
281 | 281 | if self.feed['feed_url'] is not None: |
282 | 282 | handler.addQuickElement(u"link", "", {u"rel": u"self", u"href": self.feed['feed_url']}) |
… |
… |
class Atom1Feed(SyndicationFeed):
|
304 | 304 | handler.endElement(u"entry") |
305 | 305 | |
306 | 306 | def add_item_elements(self, handler, item): |
307 | | handler.addQuickElement(u"title", item['title']) |
| 307 | handler.addQuickElement(u"title", item['title'], {u"type": u"html"}) |
308 | 308 | handler.addQuickElement(u"link", u"", {u"href": item['link'], u"rel": u"alternate"}) |
309 | 309 | if item['pubdate'] is not None: |
310 | 310 | handler.addQuickElement(u"updated", rfc3339_date(item['pubdate']).decode('utf-8')) |