From c3e960140bc3a6f96473735c48dd3599d9ab0821 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Nov 2020 20:02:34 +0000 Subject: [PATCH] Remove spaces and newlines --- webinterface.py | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/webinterface.py b/webinterface.py index 8b6f46e3..82ae4442 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6712,23 +6712,20 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, eventsButtonStr = '' if not minimal: sharesButtonStr = \ - ' ' + \ '\n' + '' bookmarksButtonStr = \ - ' ' + \ '\n' + '' eventsButtonStr = \ - ' ' + \ '\n' + '' tlStr = htmlHeader(cssFilename, profileStyle) @@ -6741,7 +6738,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, if boxName == 'dm': if not iconsAsButtons: newPostButtonStr = \ - ' ' + \ '\n' + translate['Post'] + ' ' elif boxName == 'tlblogs' or boxName == 'tlnews': if not iconsAsButtons: newPostButtonStr = \ - ' | ' + \
@@ -6765,11 +6762,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
             newPostButtonStr = \
                 '<a href=' + \ '\n' + translate['Post'] + '' elif boxName == 'tlevents': if not iconsAsButtons: newPostButtonStr = \ - ' | ' + \
@@ -6779,12 +6776,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
             newPostButtonStr = \
                 '<a href=' + \ '\n' + translate['Post'] + '' else: if not manuallyApproveFollowers: if not iconsAsButtons: newPostButtonStr = \ - ' | ' + \
@@ -6794,11 +6791,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
                 newPostButtonStr = \
                     '<a href=' + \ '\n' + translate['Post'] + '' else: if not iconsAsButtons: newPostButtonStr = \ - ' ' + \ '\n' + translate['Post'] + '' # This creates a link to the profile page when viewed # in lynx, but should be invisible in a graphical web browser tlStr += \