diff --git a/webapp_column_right.py b/webapp_column_right.py
index b1635738..a1eb7e02 100644
--- a/webapp_column_right.py
+++ b/webapp_column_right.py
@@ -205,6 +205,8 @@ def htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
separatorStr = htmlPostSeparator(baseDir, 'right')
htmlStr = ''
for dateStr, item in newswire.items():
+ if not item[0].strip():
+ continue
publishedDate = \
datetime.strptime(dateStr, "%Y-%m-%d %H:%M:%S%z")
dateShown = publishedDate.strftime("%Y-%m-%d %H:%M")
@@ -221,10 +223,7 @@ def htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
totalVotesStr = \
votesIndicator(totalVotes, positiveVoting)
- title = \
- removeLongWords(item[0], 16, []).replace('\n', '
').strip()
- if not title:
- continue
+ title = removeLongWords(item[0], 16, []).replace('\n', '
')
htmlStr += '