update rss
This commit is contained in:
parent
edf3a95d87
commit
e54685e6c2
@ -161,7 +161,7 @@ class RepoRSS:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user