From f2f81ddc52bc9683a21956db58528a31926a9ffe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 19 Jan 2021 19:17:20 +0000 Subject: [PATCH] Move summary --- webapp_post.py | 3 ++- webapp_utils.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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'