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']
|
author = meta['author']
|
||||||
desc = meta['text']
|
desc = meta['text']
|
||||||
changelog += f'{cl_date} - {author}\n{desc}\n\n'
|
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 += '<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))))
|
description += xmlescape('<pre>{}</pre>'.format(xmlescape(to_unicode(changelog))))
|
||||||
base64_description = to_base64(description)
|
base64_description = to_base64(description)
|
||||||
|
Loading…
Reference in New Issue
Block a user