forked from sig_core/toolkit
update rss to do a break on description
This commit is contained in:
parent
e68f40bf23
commit
c9ccffde40
@ -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