main
Bob Mottram 2020-10-31 23:12:45 +00:00
parent cb49d90bb9
commit 745d11d856
1 changed files with 2 additions and 2 deletions

View File

@ -5707,7 +5707,7 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
totalVotesStr = \ totalVotesStr = \
votesIndicator(totalVotes, positiveVoting) votesIndicator(totalVotes, positiveVoting)
title = removeLongWords(item[0], 30, []).replace('\n', '<br>') title = removeLongWords(item[0], 16, []).replace('\n', '<br>')
htmlStr += '<p class="newswireItemVotedOn">' + \ htmlStr += '<p class="newswireItemVotedOn">' + \
'<a href="' + item[1] + '">' + \ '<a href="' + item[1] + '">' + \
'<span class="newswireItemVotedOn">' + title + \ '<span class="newswireItemVotedOn">' + title + \
@ -5733,7 +5733,7 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
totalVotesStr = \ totalVotesStr = \
votesIndicator(totalVotes, positiveVoting) votesIndicator(totalVotes, positiveVoting)
title = removeLongWords(item[0], 30, []).replace('\n', '<br>') title = removeLongWords(item[0], 16, []).replace('\n', '<br>')
if moderator and moderatedItem: if moderator and moderatedItem:
htmlStr += '<p class="newswireItemModerated">' + \ htmlStr += '<p class="newswireItemModerated">' + \
'<a href="' + item[1] + '">' + \ '<a href="' + item[1] + '">' + \