Use highlighting which shows up in lynx

main
Bob Mottram 2020-06-17 12:47:36 +01:00
parent fca6add614
commit d5700c58fe
1 changed files with 2 additions and 2 deletions

View File

@ -4197,7 +4197,7 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
"""
if not highlight:
return label
return '<u>' + label + '</u>'
return '[' + label + ']'
def htmlTimeline(defaultTimeline: str,
@ -4515,7 +4515,7 @@ def htmlTimeline(defaultTimeline: str,
calendarAltText = translate['Calendar']
if newCalendarEvent:
# indicate that the calendar icon is highlighted
calendarAltText = '*' + calendarAltText + '*'
calendarAltText = '[' + calendarAltText + ']'
tlStr += \
' <a href="' + usersPath + calendarPath + \
'"><img loading="lazy" src="/' + iconsDir + '/' + \