Indentation

main
Bob Mottram 2020-09-30 21:41:33 +01:00
parent e638d4d7c5
commit 0274ed7fa6
1 changed files with 24 additions and 24 deletions

View File

@ -104,7 +104,7 @@ def getContentWarningButton(postID: str, translate: {},
return ' <details><summary><b>' + \ return ' <details><summary><b>' + \
translate['SHOW MORE'] + '</b></summary>' + \ translate['SHOW MORE'] + '</b></summary>' + \
'<div id="' + postID + '">' + content + \ '<div id="' + postID + '">' + content + \
'</div></details>' '</div></details>\n'
def getBlogAddress(actorJson: {}) -> str: def getBlogAddress(actorJson: {}) -> str:
@ -4866,12 +4866,12 @@ def individualPostAsHtml(allowDownloads: bool,
containerClass = 'container dm' containerClass = 'container dm'
if showIcons: if showIcons:
footerStr = '<div class="' + containerClassIcons + '">' footerStr = ' <div class="' + containerClassIcons + '">\n'
footerStr += replyStr + announceStr + likeStr + bookmarkStr + \ footerStr += replyStr + announceStr + likeStr + bookmarkStr + \
deleteStr + muteStr + editStr deleteStr + muteStr + editStr
footerStr += ' <a href="' + publishedLink + '" class="' + \ footerStr += ' <a href="' + publishedLink + '" class="' + \
timeClass + '">' + publishedStr + '</a>\n' timeClass + '">' + publishedStr + '</a>\n'
footerStr += '</div>' footerStr += ' </div>\n'
postIsSensitive = False postIsSensitive = False
if postJsonObject['object'].get('sensitive'): if postJsonObject['object'].get('sensitive'):