Remove spaces

merge-requests/30/head
Bob Mottram 2020-11-04 10:13:57 +00:00
parent c37f3ca16f
commit 19ca58ddbf
1 changed files with 9 additions and 9 deletions

View File

@ -2879,57 +2879,57 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
dropDownContent += "class='dropdown-menutoggle'>" dropDownContent += "class='dropdown-menutoggle'>"
if showPublicOnDropdown: if showPublicOnDropdown:
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownNewPostSuffix + \ '<a href="' + pathBase + dropdownNewPostSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_public.png"/><b>' + \ iconsDir + '/scope_public.png"/><b>' + \
translate['Public'] + '</b><br>' + \ translate['Public'] + '</b><br>' + \
translate['Visible to anyone'] + '</li></a>' translate['Visible to anyone'] + '</li></a>'
if defaultTimeline == 'tlnews': if defaultTimeline == 'tlnews':
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownNewBlogSuffix + \ '<a href="' + pathBase + dropdownNewBlogSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_blog.png"/><b>' + \ iconsDir + '/scope_blog.png"/><b>' + \
translate['Article'] + '</b><br>' + \ translate['Article'] + '</b><br>' + \
translate['Create an article'] + '</li></a>' translate['Create an article'] + '</li></a>'
else: else:
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownNewBlogSuffix + \ '<a href="' + pathBase + dropdownNewBlogSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_blog.png"/><b>' + \ iconsDir + '/scope_blog.png"/><b>' + \
translate['Blog'] + '</b><br>' + \ translate['Blog'] + '</b><br>' + \
translate['Publicly visible post'] + '</li></a>' translate['Publicly visible post'] + '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownUnlistedSuffix + \ '<a href="' + pathBase + dropdownUnlistedSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir+'/scope_unlisted.png"/><b>' + \ iconsDir+'/scope_unlisted.png"/><b>' + \
translate['Unlisted'] + '</b><br>' + \ translate['Unlisted'] + '</b><br>' + \
translate['Not on public timeline'] + '</li></a>' translate['Not on public timeline'] + '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownFollowersSuffix + \ '<a href="' + pathBase + dropdownFollowersSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_followers.png"/><b>' + \ iconsDir + '/scope_followers.png"/><b>' + \
translate['Followers'] + '</b><br>' + \ translate['Followers'] + '</b><br>' + \
translate['Only to followers'] + '</li></a>' translate['Only to followers'] + '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownDMSuffix + \ '<a href="' + pathBase + dropdownDMSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_dm.png"/><b>' + translate['DM'] + \ iconsDir + '/scope_dm.png"/><b>' + translate['DM'] + \
'</b><br>' + translate['Only to mentioned people'] + \ '</b><br>' + translate['Only to mentioned people'] + \
'</li></a>' '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownReminderSuffix + \ '<a href="' + pathBase + dropdownReminderSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_reminder.png"/><b>' + translate['Reminder'] + \ iconsDir + '/scope_reminder.png"/><b>' + translate['Reminder'] + \
'</b><br>' + translate['Scheduled note to yourself'] + \ '</b><br>' + translate['Scheduled note to yourself'] + \
'</li></a>' '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownEventSuffix + \ '<a href="' + pathBase + dropdownEventSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + \ '"><li><img loading="lazy" alt="" title="" src="/' + \
iconsDir + '/scope_event.png"/><b>' + translate['Event'] + \ iconsDir + '/scope_event.png"/><b>' + translate['Event'] + \
'</b><br>' + translate['Create an event'] + \ '</b><br>' + translate['Create an event'] + \
'</li></a>' '</li></a>'
dropDownContent += " " \ dropDownContent += \
'<a href="' + pathBase + dropdownReportSuffix + \ '<a href="' + pathBase + dropdownReportSuffix + \
'"><li><img loading="lazy" alt="" title="" src="/' + iconsDir + \ '"><li><img loading="lazy" alt="" title="" src="/' + iconsDir + \
'/scope_report.png"/><b>' + translate['Report'] + \ '/scope_report.png"/><b>' + translate['Report'] + \