diff --git a/webapp_post.py b/webapp_post.py index 16e7db719..89ebbf613 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1522,7 +1522,7 @@ def individualPostAsHtml(allowDownloads: bool, nickname, domain, cwStr, False) contentStr += \ - '\n ' + '\n ' if isModerationPost: containerClass = 'container report' # get the content warning text diff --git a/webapp_utils.py b/webapp_utils.py index e26d93e07..051c3787d 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 '
' + \ - translate['SHOW MORE'] + \ + return '
' + \ + translate['SHOW MORE'] + '' + \ '
' + content + \ '
\n'