Different highlight character

main
Bob Mottram 2020-06-17 12:53:41 +01:00
parent d5700c58fe
commit 727755a45a
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: if not highlight:
return label return label
return '[' + label + ']' 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 + '/' + \