mirror of https://gitlab.com/bashrc2/epicyon
Avoid duplicate separators
parent
49657dca8e
commit
66b5cbaae7
|
|
@ -1129,7 +1129,8 @@ def html_timeline(default_timeline: str,
|
||||||
if not reverse_sequence:
|
if not reverse_sequence:
|
||||||
tl_items_str += last_item_str
|
tl_items_str += last_item_str
|
||||||
if separator_str:
|
if separator_str:
|
||||||
tl_items_str += separator_str
|
if not tl_items_str.endswith(separator_str):
|
||||||
|
tl_items_str += separator_str
|
||||||
else:
|
else:
|
||||||
tl_items_str = last_item_str + tl_items_str
|
tl_items_str = last_item_str + tl_items_str
|
||||||
if separator_str:
|
if separator_str:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue