From f3122480d2c9693cfdc5528a16788e2028c1606e Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Sun, 27 Dec 2020 15:22:14 +0000
Subject: [PATCH] Navigation markup
---
webapp_column_left.py | 2 ++
webapp_column_right.py | 3 +++
2 files changed, 5 insertions(+)
diff --git a/webapp_column_left.py b/webapp_column_left.py
index 6d444d83..cb2ba283 100644
--- a/webapp_column_left.py
+++ b/webapp_column_left.py
@@ -171,6 +171,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
linksList = sharesList + linksList
if linksList:
+ htmlStr += '\n'
if firstSeparatorAdded:
htmlStr += separatorStr
diff --git a/webapp_column_right.py b/webapp_column_right.py
index 5216e241..c8ba14c0 100644
--- a/webapp_column_right.py
+++ b/webapp_column_right.py
@@ -297,6 +297,9 @@ def _htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
totalVotesStr
htmlStr += ' '
htmlStr += dateShown + '
\n'
+
+ if htmlStr:
+ htmlStr = '\n'
return htmlStr