diff --git a/webinterface.py b/webinterface.py
index 11a2150e..0e716580 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -101,10 +101,10 @@ def getContentWarningButton(postID: str, translate: {},
content: str) -> str:
"""Returns the markup for a content warning button
"""
- return '' + \
+ return ' ' + \
translate['SHOW MORE'] + '
' + \
'' + content + \
- '
'
+ '
\n'
def getBlogAddress(actorJson: {}) -> str:
@@ -4230,7 +4230,7 @@ def individualPostAsHtml(allowDownloads: bool,
nickname, domain,
displayName, False)
titleStr += \
- '' + displayName + '\n'
@@ -4245,7 +4245,7 @@ def individualPostAsHtml(allowDownloads: bool,
# pprint(postJsonObject)
print('ERROR: no actorDomain')
titleStr += \
- '@' + actorNickname + '@' + actorDomain + '\n'
@@ -4289,20 +4289,20 @@ def individualPostAsHtml(allowDownloads: bool,
replyStr = ''
if isPublicRepeat:
replyStr += \
- '\n'
else:
if isDM(postJsonObject):
replyStr += \
- '\n'
else:
replyStr += \
- '\n'
@@ -4333,7 +4333,7 @@ def individualPostAsHtml(allowDownloads: bool,
if isBlogPost(postJsonObject):
blogPostId = postJsonObject['object']['id']
editStr += \
- '\n'
deleteStr += \
@@ -4508,7 +4508,7 @@ def individualPostAsHtml(allowDownloads: bool,
else:
if not isMuted:
muteStr = \
- '\n'
@@ -4519,7 +4519,7 @@ def individualPostAsHtml(allowDownloads: bool,
'" src="/' + iconsDir + '/mute.png"/>\n'
else:
muteStr = \
- '\n' \
- '\n\n'
+ '/>\n \n'
else:
titleStr += \
- ' @unattributed\n'
else:
titleStr += \
- ' '
+ footerStr = '
\n'
footerStr += replyStr + announceStr + likeStr + bookmarkStr + \
deleteStr + muteStr + editStr
- footerStr += '\n'
- footerStr += '
'
+ footerStr += ' \n'
postIsSensitive = False
if postJsonObject['object'].get('sensitive'):