These were not semantically correct ;). Based on a patch by Rui Carmo
[1].
[1]: https://github.com/rcarmo/rss2email/commit/
2a015bce9d701035b9af874bd56c46f92382e668
Based-on-patch-by: Rui Carmo <rui.carmo@gmail.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
'<div id="entry>',
'<h1 class="header"><a href="{}">{}</a></h1>'.format(
link, subject),
- '<div id="body"><table><tr><td>',
+ '<div id="body">',
])
if content['type'] in ('text/html', 'application/xhtml+xml'):
lines.append(content['value'].strip())
else:
lines.append(_saxutils.escape(content['value'].strip()))
- lines.append('</td></tr></table></div>')
+ lines.append('</div>')
lines.extend([
'<div class="footer">'
'<p>URL: <a href="{0}">{0}</a></p>'.format(link),