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:
parent
696fab9178
commit
0cdf7bcec5
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ LINE_FORMAT_TXT = '''
|
||||||
'''.replace('\n', '')
|
'''.replace('\n', '')
|
||||||
|
|
||||||
LINE_FORMAT_HTML = '''
|
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', '')
|
'''.replace('\n', '')
|
||||||
|
|
||||||
TIMESTAMP_FORMAT = '%Y %b %d'
|
TIMESTAMP_FORMAT = '%Y %b %d'
|
||||||
|
|
Loading…
Reference in a new issue