Put each redmash line into its own div.

Apparently there are huge browser performance consequences for
having it as lines with brs.
This commit is contained in:
Ethan Dalool 2020-01-05 18:44:16 -08:00
parent 696fab9178
commit 0cdf7bcec5

View file

@ -11,7 +11,7 @@ LINE_FORMAT_TXT = '''
'''.replace('\n', '')
LINE_FORMAT_HTML = '''
{timestamp}: <a href=\"{shortlink}\">[{flairtext}] {title}</a> - <a href=\"{authorlink}\">{author}</a> (+{score})<br>
<div>{timestamp}: <a href=\"{shortlink}\">[{flairtext}] {title}</a> - <a href=\"{authorlink}\">{author}</a> (+{score})</div>
'''.replace('\n', '')
TIMESTAMP_FORMAT = '%Y %b %d'