forked from indymedia/epicyon
Use highlighting which shows up in lynx
parent
fca6add614
commit
d5700c58fe
|
@ -4197,7 +4197,7 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
|
||||||
"""
|
"""
|
||||||
if not highlight:
|
if not highlight:
|
||||||
return label
|
return label
|
||||||
return '<u>' + label + '</u>'
|
return '[' + label + ']'
|
||||||
|
|
||||||
|
|
||||||
def htmlTimeline(defaultTimeline: str,
|
def htmlTimeline(defaultTimeline: str,
|
||||||
|
@ -4515,7 +4515,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
calendarAltText = translate['Calendar']
|
calendarAltText = translate['Calendar']
|
||||||
if newCalendarEvent:
|
if newCalendarEvent:
|
||||||
# indicate that the calendar icon is highlighted
|
# indicate that the calendar icon is highlighted
|
||||||
calendarAltText = '*' + calendarAltText + '*'
|
calendarAltText = '[' + calendarAltText + ']'
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <a href="' + usersPath + calendarPath + \
|
' <a href="' + usersPath + calendarPath + \
|
||||||
'"><img loading="lazy" src="/' + iconsDir + '/' + \
|
'"><img loading="lazy" src="/' + iconsDir + '/' + \
|
||||||
|
|
Loading…
Reference in New Issue