diff --git a/webinterface.py b/webinterface.py
index 41a0c6861..d1aac8df8 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -2620,7 +2620,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
# add an extra line if there is a content warning, for better vertical spacing on mobile
if postJsonObject['object']['sensitive'] or attachmentStr:
- footerStr='
'+footerStr
+ footerStr='
'+footerStr if not postJsonObject['object'].get('summary'): postJsonObject['object']['summary']=''