From 340053577796797c50c605a83144941f83b165b9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Jul 2020 11:24:27 +0100 Subject: [PATCH] Add blog content --- webinterface.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index cd3cfe3a..8fc5f48f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4184,7 +4184,10 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int, cwContentStr, postJsonObject, pageNumber) if not isBlogPost(postJsonObject): # get the content warning button - contentStr += getContentWarningButton(postID, translate, cwContentStr) + contentStr += \ + getContentWarningButton(postID, translate, cwContentStr) + else: + contentStr += cwContentStr if postJsonObject['object'].get('tag') and not isPatch: contentStr = \