Remove spaces and newline

main
Bob Mottram 2020-11-02 20:33:32 +00:00
parent 7e9e2a4657
commit de67c5cb7f
1 changed files with 4 additions and 4 deletions

View File

@ -6450,12 +6450,12 @@ def headerButtonsTimeline(defaultTimeline: str,
# the newswire button to show right column links # the newswire button to show right column links
if not iconsAsButtons: if not iconsAsButtons:
tlStr += \ tlStr += \
' <a class="imageAnchorMobile" href="' + \ '<a class="imageAnchorMobile" href="' + \
usersPath + '/newswiremobile">' + \ usersPath + '/newswiremobile">' + \
'<img loading="lazy" src="/' + iconsDir + \ '<img loading="lazy" src="/' + iconsDir + \
'/newswire.png" title="' + translate['News'] + \ '/newswire.png" title="' + translate['News'] + \
'" alt="| ' + translate['News'] + \ '" alt="| ' + translate['News'] + \
'" class="timelineicon"/></a>\n' '" class="timelineicon"/></a>'
else: else:
# NOTE: deliberately no \n at end of line # NOTE: deliberately no \n at end of line
tlStr += \ tlStr += \
@ -6468,12 +6468,12 @@ def headerButtonsTimeline(defaultTimeline: str,
# the links button to show left column links # the links button to show left column links
if not iconsAsButtons: if not iconsAsButtons:
tlStr += \ tlStr += \
' <a class="imageAnchorMobile" href="' + \ '<a class="imageAnchorMobile" href="' + \
usersPath + '/linksmobile">' + \ usersPath + '/linksmobile">' + \
'<img loading="lazy" src="/' + iconsDir + \ '<img loading="lazy" src="/' + iconsDir + \
'/links.png" title="' + translate['Edit Links'] + \ '/links.png" title="' + translate['Edit Links'] + \
'" alt="| ' + translate['Edit Links'] + \ '" alt="| ' + translate['Edit Links'] + \
'" class="timelineicon"/></a>\n' '" class="timelineicon"/></a>'
else: else:
# NOTE: deliberately no \n at end of line # NOTE: deliberately no \n at end of line
tlStr += \ tlStr += \