Skip to content

Commit

Permalink
update rss to do a break on description
Browse files Browse the repository at this point in the history
  • Loading branch information
nazunalika committed Sep 21, 2023
1 parent e68f40b commit c9ccffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mangle/generators/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def rsspackage(self, packages):
author = meta['author']
desc = meta['text']
changelog += f'{cl_date} - {author}\n{desc}\n\n'
description = '<p><strong>{}</strong> - {}</p>\n\n'.format(xmlescape(package.name), xmlescape(package.summary))
description = '<p><strong>{}</strong> - {}{}</p>\n\n'.format(xmlescape(package.name), xmlescape(package.summary), xmlescape("<br />"))
description += '<p>%s</p>\n\n<p><strong>Change Log:</strong></p>\n\n' % xmlescape(to_unicode(pkg_description.replace("\n", "<br />\n")))
description += xmlescape('<pre>{}</pre>'.format(xmlescape(to_unicode(changelog))))
base64_description = to_base64(description)
Expand Down

0 comments on commit c9ccffd

Please sign in to comment.