Indentation

main
Bob Mottram 2020-09-30 22:13:39 +01:00
parent 827ebad166
commit 052fcd1aa5
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ def getContentWarningButton(postID: str, translate: {},
content: str) -> str: content: str) -> str:
"""Returns the markup for a content warning button """Returns the markup for a content warning button
""" """
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>\n' '</div></details>\n'
@ -4872,7 +4872,7 @@ def individualPostAsHtml(allowDownloads: bool,
containerClass = 'container dm' containerClass = 'container dm'
if showIcons: if showIcons:
footerStr = ' <div class="' + containerClassIcons + '">\n' footerStr = '\n <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="' + \