fix <h5> <a> ordering

master
lub 4 years ago
parent 8d144e83a3
commit 13efe0e0ac

@ -74,9 +74,9 @@ def get_body(post):
return body
def get_formatted_body(post):
formatted_body = '<a href="'+post['url']+'">'
formatted_body += '<h5>'+post['title']+'</h5>'
formatted_body += '</a>'
formatted_body = '<h5><a href="'+post['url']+'">'
formatted_body += post['title']
formatted_body += '</a></h5>'
if post['description']:
formatted_body += '<p>'+post['description']+'</p>'

Loading…
Cancel
Save