Skip to content

Commit

Permalink
Merge pull request #131 from lkiesow/desc-summary
Browse files Browse the repository at this point in the history
Fixex generating Atom feed when adding description as summary
  • Loading branch information
lkiesow authored Dec 24, 2023
2 parents 3f2d36e + b4999f4 commit 2eee211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedgen/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def description(self, description=None, isSummary=False):
if description is not None:
self.__rss_description = description
if isSummary:
self.__atom_summary = description
self.__atom_summary = {'summary': description}
else:
self.__atom_content = {'content': description}
return self.__rss_description
Expand Down

0 comments on commit 2eee211

Please sign in to comment.