From 66b5cbaae781412d9c809e6b93100b2a5b389894 Mon Sep 17 00:00:00 2001 From: bashrc Date: Wed, 13 May 2026 13:08:41 +0100 Subject: [PATCH] Avoid duplicate separators --- webapp_timeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 4410df431..3d1a749f6 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -1129,7 +1129,8 @@ def html_timeline(default_timeline: str, if not reverse_sequence: tl_items_str += last_item_str if separator_str: - tl_items_str += separator_str + if not tl_items_str.endswith(separator_str): + tl_items_str += separator_str else: tl_items_str = last_item_str + tl_items_str if separator_str: