diff --git a/webinterface.py b/webinterface.py
index 05189b482..6fcb27350 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -2199,7 +2199,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
else:
imagePostUrl=postJsonObject['object']['id']
if imageDescription:
- galleryStr+=' '+imageDescription+'
\n'
+ galleryStr+=' '+imageDescription+'
\n'
galleryStr+='\n'
attachmentStr+=''