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