diff --git a/webapp_post.py b/webapp_post.py index c836640aa..16e7db719 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1521,7 +1521,8 @@ def individualPostAsHtml(allowDownloads: bool, addEmojiToDisplayName(baseDir, httpPrefix, nickname, domain, cwStr, False) - contentStr += '\n ' + contentStr += \ + '\n ' if isModerationPost: containerClass = 'container report' # get the content warning text diff --git a/webapp_utils.py b/webapp_utils.py index d00d6f09a..e26d93e07 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -167,8 +167,8 @@ def getContentWarningButton(postID: str, translate: {}, content: str) -> str: """Returns the markup for a content warning button """ - return '
' + \ + return '
' + \ + translate['SHOW MORE'] + \ '
' + content + \ '
\n'