Skip to content

Commit

Permalink
Add url-separator
Browse files Browse the repository at this point in the history
Similar to description-separator add an url-separator.
  • Loading branch information
Julian Wollrath authored and geier committed Oct 24, 2023
1 parent f008bba commit 41190b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions khal/khalendar/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,9 @@ def format(self, format_string: str, relative_to, env=None, colors: bool=True):
attributes["categories"] = self.categories
attributes['uid'] = self.uid
attributes['url'] = self.url
attributes['url-separator'] = ""
if attributes['url']:
attributes['url-separator'] = " :: "

if "calendars" in env and self.calendar in env["calendars"]:
cal = env["calendars"][self.calendar]
Expand Down

0 comments on commit 41190b8

Please sign in to comment.