Spacers within alt text for better viewing in lynx

main
Bob Mottram 2020-06-17 13:14:14 +01:00
parent 9ad3557ce5
commit 0b1c040ccb
1 changed files with 7 additions and 7 deletions

View File

@ -4391,7 +4391,7 @@ def htmlTimeline(defaultTimeline: str,
'<a href="' + usersPath + \ '<a href="' + usersPath + \
'/newpost"><img loading="lazy" src="/' + \ '/newpost"><img loading="lazy" src="/' + \
iconsDir + '/newpost.png" title="' + \ iconsDir + '/newpost.png" title="' + \
translate['Create a new post'] + '" alt="' + \ translate['Create a new post'] + '" alt="| ' + \
translate['Create a new post'] + \ translate['Create a new post'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
else: else:
@ -4400,14 +4400,14 @@ def htmlTimeline(defaultTimeline: str,
'/newfollowers"><img loading="lazy" src="/' + \ '/newfollowers"><img loading="lazy" src="/' + \
iconsDir + '/newpost.png" title="' + \ iconsDir + '/newpost.png" title="' + \
translate['Create a new post'] + \ translate['Create a new post'] + \
'" alt="' + translate['Create a new post'] + \ '" alt="| ' + translate['Create a new post'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
else: else:
newPostButtonStr = \ newPostButtonStr = \
'<a href="' + usersPath + \ '<a href="' + usersPath + \
'/newblog"><img loading="lazy" src="/' + \ '/newblog"><img loading="lazy" src="/' + \
iconsDir + '/newpost.png" title="' + \ iconsDir + '/newpost.png" title="' + \
translate['Create a new post'] + '" alt="' + \ translate['Create a new post'] + '" alt="| ' + \
translate['Create a new post'] + \ translate['Create a new post'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
else: else:
@ -4416,7 +4416,7 @@ def htmlTimeline(defaultTimeline: str,
'/newdm"><img loading="lazy" src="/' + \ '/newdm"><img loading="lazy" src="/' + \
iconsDir + '/newpost.png" title="' + \ iconsDir + '/newpost.png" title="' + \
translate['Create a new DM'] + \ translate['Create a new DM'] + \
'" alt="' + translate['Create a new DM'] + \ '" alt="| ' + translate['Create a new DM'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
# This creates a link to the profile page when viewed # This creates a link to the profile page when viewed
@ -4509,7 +4509,7 @@ def htmlTimeline(defaultTimeline: str,
' <a href="' + usersPath + \ ' <a href="' + usersPath + \
'/search"><img loading="lazy" src="/' + \ '/search"><img loading="lazy" src="/' + \
iconsDir + '/search.png" title="' + \ iconsDir + '/search.png" title="' + \
translate['Search and follow'] + '" alt="' + \ translate['Search and follow'] + '" alt="| ' + \
translate['Search and follow'] + '" class="timelineicon"/></a>' translate['Search and follow'] + '" class="timelineicon"/></a>'
calendarAltText = translate['Calendar'] calendarAltText = translate['Calendar']
@ -4520,13 +4520,13 @@ def htmlTimeline(defaultTimeline: str,
' <a href="' + usersPath + calendarPath + \ ' <a href="' + usersPath + calendarPath + \
'"><img loading="lazy" src="/' + iconsDir + '/' + \ '"><img loading="lazy" src="/' + iconsDir + '/' + \
calendarImage + '" title="' + translate['Calendar'] + \ calendarImage + '" title="' + translate['Calendar'] + \
'" alt="' + calendarAltText + '" class="timelineicon"/></a>' '" alt="| ' + calendarAltText + '" class="timelineicon"/></a>'
tlStr += \ tlStr += \
' <a href="' + usersPath + '/minimal' + \ ' <a href="' + usersPath + '/minimal' + \
'"><img loading="lazy" src="/' + iconsDir + \ '"><img loading="lazy" src="/' + iconsDir + \
'/showhide.png" title="' + translate['Show/Hide Buttons'] + \ '/showhide.png" title="' + translate['Show/Hide Buttons'] + \
'" alt="' + translate['Show/Hide Buttons'] + \ '" alt="| ' + translate['Show/Hide Buttons'] + \
'" class="timelineicon"/></a>' '" class="timelineicon"/></a>'
tlStr += followApprovals tlStr += followApprovals
tlStr += '</div>' tlStr += '</div>'