diff --git a/webinterface.py b/webinterface.py
index 62b131182..e26c891d0 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6457,6 +6457,7 @@ def headerButtonsTimeline(defaultTimeline: str,
'" alt="| ' + translate['News'] + \
'" class="timelineicon"/>\n'
else:
+ # NOTE: deliberately no \n at end of line
tlStr += \
'\n'
else:
+ # NOTE: deliberately no \n at end of line
tlStr += \
'