diff --git a/webinterface.py b/webinterface.py
index 3634cad7..0b2b8acc 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6118,7 +6118,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
calendarAltText = '*' + calendarAltText + '*'
if not iconsAsButtons:
tlStr += \
- ' \n'
else:
tlStr += \
- ' \n'
@@ -6134,7 +6134,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
# the show/hide button, for a simpler header appearance
if not iconsAsButtons:
tlStr += \
- ' \n'
else:
tlStr += \
- ' \n'